feat(auth): added in the intital setup auth
This commit is contained in:
15
migrations/0001_puzzling_enchantress.sql
Normal file
15
migrations/0001_puzzling_enchantress.sql
Normal file
@@ -0,0 +1,15 @@
|
||||
CREATE TABLE "datamart" (
|
||||
"id" uuid PRIMARY KEY DEFAULT gen_random_uuid() NOT NULL,
|
||||
"name" text,
|
||||
"description" text NOT NULL,
|
||||
"query" text,
|
||||
"version" integer NOT NULL,
|
||||
"active" boolean DEFAULT true,
|
||||
"checked" text DEFAULT '',
|
||||
"add_date" timestamp DEFAULT now(),
|
||||
"add_user" text DEFAULT 'lst-system',
|
||||
"upd_date" text DEFAULT 'lst-system'
|
||||
);
|
||||
--> statement-breakpoint
|
||||
ALTER TABLE "logs" ADD COLUMN "created_at" timestamp DEFAULT now();--> statement-breakpoint
|
||||
ALTER TABLE "logs" DROP COLUMN "createdAt";
|
||||
Reference in New Issue
Block a user