From df19890aee4f27dcf311a81110e5fc6da03a407f Mon Sep 17 00:00:00 2001 From: averel10 Date: Fri, 20 Mar 2026 07:46:00 +0100 Subject: [PATCH] removed not null requirement for migration --- src/lib/model/annotation.ts | 1 - 1 file changed, 1 deletion(-) diff --git a/src/lib/model/annotation.ts b/src/lib/model/annotation.ts index 1fcb28a..d0f500e 100644 --- a/src/lib/model/annotation.ts +++ b/src/lib/model/annotation.ts @@ -9,7 +9,6 @@ export const annotation = sqliteTable( id: integer('id').primaryKey({ autoIncrement: true }), datasetEntryId: integer('dataset_entry_id').notNull().references(() => dataset_entry.id), experimentId: integer('experiment_id') - .notNull() .references(() => experiment.id), userId: text('user_id').notNull(), rating: integer('rating').notNull(), // 1–5