feat: add prototype-based annotation view with single-choice rating
This commit is contained in:
9
drizzle/0007_light_spiral.sql
Normal file
9
drizzle/0007_light_spiral.sql
Normal file
@@ -0,0 +1,9 @@
|
||||
CREATE TABLE IF NOT EXISTS `annotation` (
|
||||
`id` integer PRIMARY KEY AUTOINCREMENT NOT NULL,
|
||||
`dataset_entry_id` integer NOT NULL,
|
||||
`user_id` text NOT NULL,
|
||||
`rating` integer NOT NULL,
|
||||
`dialect_label` text NOT NULL,
|
||||
`created_at` integer DEFAULT (unixepoch()) NOT NULL,
|
||||
FOREIGN KEY (`dataset_entry_id`) REFERENCES `dataset_entry`(`id`) ON UPDATE no action ON DELETE no action
|
||||
);
|
||||
Reference in New Issue
Block a user