schema of migrations table
See original GitHub issueIs it possible to specify the schema of the migrations table? I’d like to separate tables by schema, and have separate migrations for each schema. That way, I can do drop schema ... cascade
to recreate parts of my database. This would allow me to iterate fast on a schema while preserving any information I might have in other schemas.
Issue Analytics
- State:
- Created 2 years ago
- Reactions:1
- Comments:5 (1 by maintainers)
Top Results From Across the Web
Schema Migrations Table - ruby on rails
The schema_migrations table holds the revision numbers; with the last record being the most recently executed migration. You can just manipulate these ...
Read more >Custom Migrations History Table - EF Core
You can change the schema and table name using the MigrationsHistoryTable() method in OnConfiguring() (or ConfigureServices() on ASP.NET Core).
Read more >Schema migration
A schema migration is performed on a database whenever it is necessary to update or revert that database's schema to some newer or...
Read more >Database: Migrations - Laravel - The PHP Framework For ...
The Laravel Schema facade provides database agnostic support for creating and manipulating tables across all of Laravel's supported database systems. Typically, ...
Read more >Active Record Migrations - Rails Edge Guides
The rails commands that manipulate migrations and your schema. ... This migration adds a table called products with a string column called name...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Ok, no problem. Thanks for the quick reply and for being honest.
If #93 is merged I believe it would become possible to set a search_path on a client before running migrations and passing that client to the migration command.