test(fifo index): running fifo index data on 2 servers as a trial to validate data
This commit is contained in:
11
database/migrations/0061_mature_the_stranger.sql
Normal file
11
database/migrations/0061_mature_the_stranger.sql
Normal file
@@ -0,0 +1,11 @@
|
||||
CREATE TABLE "fifoIndex" (
|
||||
"fifoIndex_id" uuid PRIMARY KEY DEFAULT gen_random_uuid() NOT NULL,
|
||||
"lot" text NOT NULL,
|
||||
"av" numeric NOT NULL,
|
||||
"runningNr" numeric NOT NULL,
|
||||
"prodDate" timestamp NOT NULL,
|
||||
"fifoFollowed" boolean NOT NULL,
|
||||
"add_Date" timestamp DEFAULT now()
|
||||
);
|
||||
--> statement-breakpoint
|
||||
CREATE UNIQUE INDEX "fifo_runningNr" ON "fifoIndex" USING btree ("runningNr");
|
||||
Reference in New Issue
Block a user