Rename the unified application to dashboard

This commit is contained in:
2026-11-04 23:01:32 +08:00
parent 4ec83f2603
commit 61d80f352f
223 changed files with 42 additions and 42 deletions
+13
View File
@@ -0,0 +1,13 @@
BEGIN;
CREATE TABLE IF NOT EXISTS studio_designs (
id uuid PRIMARY KEY,
layout_id text NOT NULL CHECK (layout_id ~ '^ref-(0[1-9]|1[0-9]|2[0-7])$'),
name text NOT NULL CHECK (char_length(name) BETWEEN 1 AND 120),
parameters jsonb NOT NULL CHECK (jsonb_typeof(parameters)='object'),
revision integer NOT NULL DEFAULT 1 CHECK (revision > 0),
created_at timestamptz NOT NULL DEFAULT now(),
updated_at timestamptz NOT NULL DEFAULT now()
);
CREATE INDEX IF NOT EXISTS studio_designs_layout_created ON studio_designs(layout_id,created_at DESC,id DESC);
INSERT INTO schema_migrations(version) VALUES('009_studio_designs');
COMMIT;