fix(migration):add url to primary key
Signed-off-by: soxx <soxx@fenpa.ws>
This commit is contained in:
parent
e09d39dd02
commit
8a2803276a
@ -62,7 +62,7 @@ CREATE TABLE "PostReference"
|
||||
preview_file_url TEXT,
|
||||
sample_file_url TEXT,
|
||||
source_post_id TEXT,
|
||||
PRIMARY KEY (post_id, source_id)
|
||||
PRIMARY KEY (post_id, source_id, url)
|
||||
);
|
||||
|
||||
CREATE TABLE "TagAlias"
|
||||
|
Reference in New Issue
Block a user