feat(datamart): get, add, update queries

This commit is contained in:
2026-01-05 20:06:15 -06:00
parent c06a52a4ac
commit b777d87e5a
20 changed files with 2282 additions and 66 deletions

View File

@@ -0,0 +1,7 @@
ALTER TABLE "datamart" ALTER COLUMN "version" SET DEFAULT 1;--> statement-breakpoint
ALTER TABLE "datamart" ALTER COLUMN "upd_date" SET DATA TYPE timestamp;--> statement-breakpoint
ALTER TABLE "datamart" ALTER COLUMN "upd_date" SET DEFAULT now();--> statement-breakpoint
ALTER TABLE "datamart" ADD COLUMN "options" text DEFAULT '';--> statement-breakpoint
ALTER TABLE "datamart" ADD COLUMN "upd_user" text DEFAULT 'lst-system';--> statement-breakpoint
ALTER TABLE "user" DROP COLUMN "last_login";--> statement-breakpoint
ALTER TABLE "datamart" DROP COLUMN "checked";