fixing:db
This commit is contained in:
@@ -11,4 +11,5 @@ CREATE TABLE `experiment` (
|
||||
);
|
||||
--> statement-breakpoint
|
||||
ALTER TABLE `annotation` ADD `experiment_id` integer REFERENCES experiment(id);--> statement-breakpoint
|
||||
ALTER TABLE `annotation` ADD `updated_at` integer DEFAULT (unixepoch()) NOT NULL;
|
||||
ALTER TABLE annotation ADD COLUMN updated_at INTEGER NOT NULL DEFAULT 0;
|
||||
UPDATE annotation SET updated_at = unixepoch();
|
||||
Reference in New Issue
Block a user