db/migrations: fix `down` in 003_events_admin to drop the new "admin" column, not the "relays" table (whoops)
This commit is contained in:
parent
25e023aaf2
commit
8ec215402f
|
@ -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();
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue