sql first refactor
This commit is contained in:
11
db/migration/V049__planning_config.sql
Normal file
11
db/migration/V049__planning_config.sql
Normal file
@@ -0,0 +1,11 @@
|
||||
-- volitelné plánovací konstanty per site (horizont, decay, …) – čte fn_planning_site_context
|
||||
|
||||
create table if not exists ems.planning_config (
|
||||
site_id int not null references ems.site (id) on delete cascade,
|
||||
config jsonb not null default '{}'::jsonb,
|
||||
updated_at timestamptz not null default now(),
|
||||
primary key (site_id)
|
||||
);
|
||||
|
||||
comment on table ems.planning_config is
|
||||
'JSON konfigurace pro budoucí přesun konstant z planning_engine.py (slot weights, correction decay, …).';
|
||||
Reference in New Issue
Block a user