12 lines
493 B
SQL
12 lines
493 B
SQL
-- 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, …).';
|