mirror of
https://gitlab.com/soapbox-pub/ditto.git
synced 2025-12-06 11:29:46 +00:00
Remove foreign key constraint from tags.event_id
This commit is contained in:
parent
08756c3400
commit
6c96240602
1 changed files with 1 additions and 1 deletions
|
|
@ -18,7 +18,7 @@ export async function up(db: Kysely<any>): Promise<void> {
|
|||
.addColumn('value_1', 'text')
|
||||
.addColumn('value_2', 'text')
|
||||
.addColumn('value_3', 'text')
|
||||
.addColumn('event_id', 'text', (col) => col.notNull().references('events.id'))
|
||||
.addColumn('event_id', 'text', (col) => col.notNull())
|
||||
.execute();
|
||||
|
||||
await db.schema
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue