mirror of
https://github.com/aljazceru/ditto.git
synced 2026-02-23 05:56:03 +01:00
db/migrations: fix down in 003_events_admin to drop the new "admin" column, not the "relays" table (whoops)
This commit is contained in:
@@ -8,5 +8,5 @@ export async function up(db: Kysely<any>): Promise<void> {
|
||||
}
|
||||
|
||||
export async function down(db: Kysely<any>): Promise<void> {
|
||||
await db.schema.dropTable('relays').execute();
|
||||
await db.schema.alterTable('users').dropColumn('admin').execute();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user