New issue
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
db:fresh
and db:wipe
commands fail with PostGIS extension
#820
Comments
Rails have [0] https://stackoverflow.com/questions/40882420/rails-postgis-error-cannot-drop-table-spatial-ref-sys |
Thanks for reporting. I will do some reading on this 👍 |
… to be dropped, close adonisjs#820
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. |
@Julien-R44 Any plans to tackling this issue? |
Package version
"@adonisjs/lucid": "^17.1.1",
"@adonisjs/core": "^5.6.2",
"@adonisjs/assembler": "^5.4.2",
"pg": "^8.7.3",
"knex-postgis": "^0.14.3",
Node.js and npm version
v16.1.0
7.11.2
Sample Code (to reproduce the issue)
node ace migration:fresh
❯ node ace migration:fresh error: DROP table adonis_schema,adonis_schema_versions,api_tokens,app_configs,users CASCADE; - cannot drop table spatial_ref_sys because extension postgis requires it 1 Parser.parseErrorMessage /node_modules/pg-protocol/src/parser.ts:369 2 Parser.handlePacket /node_modules/pg-protocol/src/parser.ts:188 3 Parser.parse /node_modules/pg-protocol/src/parser.ts:103 4 anonymous /node_modules/pg-protocol/src/index.ts:7
The text was updated successfully, but these errors were encountered: