fix(database): migration
Some checks failed
Gitea Build Check / Build (pull_request) Failing after 2m54s
Some checks failed
Gitea Build Check / Build (pull_request) Failing after 2m54s
- primary key is now first in position
This commit is contained in:
parent
a6d95067fe
commit
59f404883e
@ -1,8 +1,8 @@
|
||||
-- +migrate Up
|
||||
CREATE TABLE "ScrapeHistory"
|
||||
(
|
||||
user_source_id CHAR(25) NOT NULL REFERENCES "UserSource" (id),
|
||||
scrape_task_id CHAR(25) PRIMARY KEY,
|
||||
user_source_id CHAR(25) NOT NULL REFERENCES "UserSource" (id),
|
||||
created_at TIMESTAMP NOT NULL DEFAULT CURRENT_TIMESTAMP,
|
||||
finished_at TIMESTAMP NULL,
|
||||
error TEXT NULL,
|
||||
|
Loading…
Reference in New Issue
Block a user