mirror of
https://github.com/plankanban/planka.git
synced 2025-07-18 20:59:44 +02:00
fix: Prevent upgrade script from running other migrations
This commit is contained in:
parent
9fd9370120
commit
777ff467f3
1 changed files with 3 additions and 1 deletions
|
@ -88,7 +88,9 @@ const upgradeDatabase = async () => {
|
|||
ALTER TABLE notification SET SCHEMA v1;
|
||||
`);
|
||||
|
||||
await trx.migrate.up();
|
||||
await trx.migrate.up({
|
||||
name: '20250228000022_version_2.js',
|
||||
});
|
||||
|
||||
const users = await trx('user_account').withSchema('v1').whereNull('deleted_at');
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue