fix(legacy): remove not null contraint when using default
This fixes the inital schema creation to match as if the old migrations were always run. The third_party_track_references.file_id field should not have a not null constraint while have a default value to 0.
This commit is contained in:
parent
f7bb6e7592
commit
28b9343c77
6 changed files with 8 additions and 8 deletions
|
@ -667,7 +667,7 @@ CREATE TABLE "third_party_track_references"
|
|||
"id" serial NOT NULL,
|
||||
"service" VARCHAR(256) NOT NULL,
|
||||
"foreign_id" VARCHAR(256),
|
||||
"file_id" INTEGER DEFAULT 0 NOT NULL,
|
||||
"file_id" INTEGER DEFAULT 0,
|
||||
"upload_time" TIMESTAMP,
|
||||
"status" VARCHAR(256),
|
||||
PRIMARY KEY ("id"),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue