mirror of
https://github.com/plankanban/planka.git
synced 2025-07-19 05:09:43 +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:
parent
b88a2894b6
commit
783fe8b11e
1 changed files with 1 additions and 0 deletions
|
@ -48,5 +48,6 @@ module.exports.datastores = {
|
||||||
|
|
||||||
adapter: 'sails-postgresql',
|
adapter: 'sails-postgresql',
|
||||||
url: process.env.DATABASE_URL,
|
url: process.env.DATABASE_URL,
|
||||||
|
schemaName: process.env.DB_SCHEMA || 'public',
|
||||||
},
|
},
|
||||||
};
|
};
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue