1
0
Fork 0
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:
Maksim Eltyshev 2025-05-22 16:40:46 +02:00
parent 9fd9370120
commit 777ff467f3

View file

@ -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');