We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Good morning
Quick question. Is there a way to manipulate tables other than the default schema.
for example I would like to create a table in several schemas
db.createTable('OTHER_SCHEMA.table', { id: { type: 'int', primaryKey: true }, name: 'string' });
Thanks !
db-migrate version: 0.11.13 db-migrate-pg with versions: 1.3.0
The text was updated successfully, but these errors were encountered:
not officially supported. You can have multiple scopes: https://db-migrate.readthedocs.io/en/latest/Getting%20Started/commands/#scoping . Scopes have db switching support.
https://github.com/db-migrate/pg/blob/b64a02aefff39af750099c5c57bb74ab47937d05/index.js#L128 This is the relevant endpoint, for pg you can actually only switch the schema not the database. Which is due to this method also theoretically callable from the driver and the non guarantee of being able to switch the db on the same connection.
Sorry, something went wrong.
No branches or pull requests
I'm submitting a...
Current behavior
Good morning
Quick question.
Is there a way to manipulate tables other than the default schema.
for example I would like to create a table in several schemas
db.createTable('OTHER_SCHEMA.table', { id: { type: 'int', primaryKey: true }, name: 'string' });
Thanks !
Environment
The text was updated successfully, but these errors were encountered: