Add Scrape History #15
@ -1,8 +1,8 @@
|
|||||||
-- +migrate Up
|
-- +migrate Up
|
||||||
CREATE TABLE "ScrapeHistory"
|
CREATE TABLE "ScrapeHistory"
|
||||||
(
|
(
|
||||||
user_source_id CHAR(25) NOT NULL REFERENCES "UserSource" (id),
|
|
||||||
scrape_task_id CHAR(25) PRIMARY KEY,
|
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,
|
created_at TIMESTAMP NOT NULL DEFAULT CURRENT_TIMESTAMP,
|
||||||
finished_at TIMESTAMP NULL,
|
finished_at TIMESTAMP NULL,
|
||||||
error TEXT NULL,
|
error TEXT NULL,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user