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

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