modified version
This commit is contained in:
@@ -106,19 +106,6 @@ CREATE TABLE IF NOT EXISTS export_profiles (
|
||||
UNIQUE KEY uq_export_profiles_code (code)
|
||||
);
|
||||
|
||||
-- Small application settings that do not justify dedicated tables are stored as
|
||||
-- JSON key/value pairs. This keeps the schema lean during the PoC phase while
|
||||
-- still allowing centrally managed frontend behavior.
|
||||
CREATE TABLE IF NOT EXISTS app_config (
|
||||
id BIGINT UNSIGNED NOT NULL AUTO_INCREMENT,
|
||||
config_key VARCHAR(100) NOT NULL,
|
||||
config_value_json JSON NOT NULL,
|
||||
created_at DATETIME NOT NULL DEFAULT CURRENT_TIMESTAMP,
|
||||
updated_at DATETIME NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,
|
||||
PRIMARY KEY (id),
|
||||
UNIQUE KEY uq_app_config_key (config_key)
|
||||
);
|
||||
|
||||
-- Submitted reports are stored server-side for centralized review and archival.
|
||||
-- The browser creates reports locally first; this table receives them when the
|
||||
-- operator explicitly submits. The report_uuid links back to the browser-local
|
||||
|
||||
Reference in New Issue
Block a user