cs-prices: price history backfill (Steam daily median since 2013 from the public listing page, CSFloat daily averages, ECB FX history) in separate *-history streams; labelled on item charts
Deploy production / deploy (push) Successful in 1m13s
Deploy production / deploy (push) Successful in 1m13s
This commit is contained in:
1 parent
7396d23335
commit
76f063b362
5 files changed
+42972
-2
No files matched your search
@@ -0,0 +1,11 @@
|
||||
CREATE TABLE "cs"."history_fetches" (
|
||||
"item_id" integer,
|
||||
"source" text,
|
||||
"fetched_at" timestamp with time zone DEFAULT now() NOT NULL,
|
||||
"points" integer DEFAULT 0 NOT NULL,
|
||||
"first_day" date,
|
||||
"error" text,
|
||||
CONSTRAINT "history_fetches_pkey" PRIMARY KEY("item_id","source")
|
||||
);
|
||||
--> statement-breakpoint
|
||||
ALTER TABLE "cs"."history_fetches" ADD CONSTRAINT "history_fetches_item_id_items_id_fkey" FOREIGN KEY ("item_id") REFERENCES "cs"."items"("id") ON DELETE CASCADE;
|
||||
File diff suppressed because it is too large.
Load diff
Reference in new issue
Block a user