Skip to content

Commit 10cd877

Browse files
committed
Add ovenpheus
1 parent 75d7ca0 commit 10cd877

File tree

10 files changed

+1427
-5
lines changed

10 files changed

+1427
-5
lines changed
Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
CREATE TABLE "ovenpheus_log" (
2+
"id" serial PRIMARY KEY NOT NULL,
3+
"userId" integer,
4+
"clay" real NOT NULL,
5+
"bricksReceived" real NOT NULL,
6+
"timestamp" timestamp DEFAULT now() NOT NULL
7+
);
8+
--> statement-breakpoint
9+
ALTER TABLE "ovenpheus_log" ADD CONSTRAINT "ovenpheus_log_userId_user_id_fk" FOREIGN KEY ("userId") REFERENCES "public"."user"("id") ON DELETE no action ON UPDATE no action;

0 commit comments

Comments
 (0)