修改配置编辑不了的问题
This commit is contained in:
12
database/migrations/0003_platform_runtime_settings.sql
Normal file
12
database/migrations/0003_platform_runtime_settings.sql
Normal file
@@ -0,0 +1,12 @@
|
||||
-- Mutable provider configuration is relational runtime state. Values are
|
||||
-- intentionally plaintext in this first functional migration; at-rest
|
||||
-- encryption and key rotation are separate hardening work.
|
||||
create table if not exists platform_runtime_settings (
|
||||
setting_key text primary key,
|
||||
setting_value text not null,
|
||||
revision bigint not null default 1 check (revision > 0),
|
||||
updated_at timestamptz not null default now()
|
||||
);
|
||||
|
||||
create index if not exists platform_runtime_settings_updated_at_idx
|
||||
on platform_runtime_settings(updated_at desc);
|
||||
Reference in New Issue
Block a user