Remove foreign key constraint from tags.event_id
This commit is contained in:
parent
08756c3400
commit
6c96240602
|
@ -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…
Reference in New Issue