1
0
Fork 0
mirror of https://github.com/plankanban/planka.git synced 2025-07-18 20:59:44 +02:00

[FIX] configurable db schema name

By default sails-postgres was using `public` even though default `search_path` of db user was different.
Did not face this same issue with Knex migrations
This commit is contained in:
Nikhil Taneja 2025-03-01 21:31:00 +05:30 committed by GitHub
parent b88a2894b6
commit 783fe8b11e
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -48,5 +48,6 @@ module.exports.datastores = {
adapter: 'sails-postgresql',
url: process.env.DATABASE_URL,
schemaName: process.env.DB_SCHEMA || 'public',
},
};