-
Notifications
You must be signed in to change notification settings - Fork 1.9k
Open
Labels
helpful info or workaroundormRelated to models, datastores, orm config, Waterline, sails-hook-orm, etc.Related to models, datastores, orm config, Waterline, sails-hook-orm, etc.postgresqlIssue only occurs when using PostgreSQLIssue only occurs when using PostgreSQL
Description
Node version: 9.7.0
Sails version: 0.11.4
DB adapter & version: sails-postgresql@0.11.4
Postgres version: 12
Error: column r.consrc does not exists.
In lib/adapter.js of sails-postgresql module, the function describe() execute a query that breaks in postgres 12+ because the column consrc of pg_constraint no longer exists, so the "schema" property of connection object will never be populated.
I had read the latest version of sails-postgresql and the same query is applied (but the file is: helpers/describe.js).
What can I do to run postgres 12 with sails?
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
helpful info or workaroundormRelated to models, datastores, orm config, Waterline, sails-hook-orm, etc.Related to models, datastores, orm config, Waterline, sails-hook-orm, etc.postgresqlIssue only occurs when using PostgreSQLIssue only occurs when using PostgreSQL