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
Generated PostgreSQL migration file does not contain schema creation or deletion SQL.
Suppose we have the following entity code,
@Entity({ schema: 'my_schema', name: 'my_name' })
the migration file generated should include something like CREATE SCHEMA my_schema; and DROP SCHEMA my_name;
CREATE SCHEMA my_schema;
DROP SCHEMA my_name;
nothing
node -r ts-node/register ./node_modules/typeorm/cli.js -d data-source.ts migration:generate -n migraion_file
@Entity({ schema: 'my_schema', name: 'my_name' }) export class MyName { // ... }
aurora-mysql
aurora-postgres
better-sqlite3
cockroachdb
cordova
expo
mongodb
mysql
nativescript
oracle
postgres
react-native
sap
spanner
sqlite
sqlite-abstract
sqljs
sqlserver
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Issue Description
Generated PostgreSQL migration file does not contain schema creation or deletion SQL.
Expected Behavior
Suppose we have the following entity code,
the migration file generated should include something like
CREATE SCHEMA my_schema;
and
DROP SCHEMA my_name;
Actual Behavior
nothing
Steps to Reproduce
node -r ts-node/register ./node_modules/typeorm/cli.js -d data-source.ts migration:generate -n migraion_file
My Environment
Additional Context
Relevant Database Driver(s)
aurora-mysql
aurora-postgres
better-sqlite3
cockroachdb
cordova
expo
mongodb
mysql
nativescript
oracle
postgres
react-native
sap
spanner
sqlite
sqlite-abstract
sqljs
sqlserver
Are you willing to resolve this issue by submitting a Pull Request?
The text was updated successfully, but these errors were encountered: