Initial BizOne portal setup

This commit is contained in:
2026-05-11 11:36:33 +07:00
commit 57017dd397
249 changed files with 41305 additions and 0 deletions

View File

@ -0,0 +1,16 @@
CREATE TABLE "message_templates" (
"id" uuid PRIMARY KEY DEFAULT gen_random_uuid(),
"name" text NOT NULL UNIQUE,
"category" text NOT NULL,
"status" text NOT NULL,
"language" text NOT NULL,
"header_text" text,
"body_text" text NOT NULL,
"footer_text" text,
"buttons_json" jsonb,
"created_at" timestamptz NOT NULL DEFAULT now(),
"updated_at" timestamptz NOT NULL DEFAULT now()
);
CREATE INDEX "message_templates_status_category_language_idx"
ON "message_templates" ("status", "category", "language");