fix(migration):add url to primary key

Signed-off-by: soxx <soxx@fenpa.ws>
This commit is contained in:
SoXX 2024-06-21 15:25:22 +02:00
parent e09d39dd02
commit 8a2803276a

View File

@ -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"