diff --git a/database/migration.js b/database/migration.js index bc4a3c0..0e0162e 100644 --- a/database/migration.js +++ b/database/migration.js @@ -6,7 +6,10 @@ migration.start = async () => { await db.schema.table('albums', table => { table.dateTime('editedAt') table.dateTime('zipGeneratedAt') - }) + }).catch(() => {}) + await db.schema.table('users', table => { + table.integer('enabled') + }).catch(() => {}) console.log('Migration finished! Now start lolisafe normally') process.exit(0) }