feat(auth): added in the intital setup auth

This commit is contained in:
2025-12-30 08:04:10 -06:00
parent 9b5a75300a
commit ff2cd7e9f8
18 changed files with 2208 additions and 15 deletions

View 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";