This commit is contained in:
PB
2025-11-23 21:49:18 +01:00
parent d5596b59cb
commit 68d0f3d48d
18 changed files with 268 additions and 54 deletions

View File

@@ -0,0 +1 @@
DROP TABLE IF EXISTS config.settings;

View File

@@ -0,0 +1,15 @@
CREATE EXTENSION IF NOT EXISTS "pgcrypto";
CREATE SCHEMA "config" AUTHORIZATION egommerce;
CREATE TABLE IF NOT EXISTS config.settings
(
id uuid NOT NULL DEFAULT gen_random_uuid(),
"name" character varying NOT NULL,
"value" character varying NOT NULL,
PRIMARY KEY (id),
UNIQUE (name)
);
ALTER TABLE IF EXISTS config.settings OWNER to egommerce;