mirror of
https://gitlab.com/soapbox-pub/ditto.git
synced 2025-12-06 11:29:46 +00: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:
parent
25e023aaf2
commit
8ec215402f
1 changed files with 1 additions and 1 deletions
|
|
@ -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…
Add table
Reference in a new issue