Remove foreign key constraint from tags.event_id

This commit is contained in:
Alex Gleason 2023-08-08 22:35:43 -05:00
parent 08756c3400
commit 6c96240602
No known key found for this signature in database
GPG Key ID: 7211D1F99744FBB7
1 changed files with 1 additions and 1 deletions

View File

@ -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