Files
ems/db/migration/V049__planning_config.sql
Dusan Vojacek 93f883f5e0
Some checks failed
CI and deploy / migration-check (push) Successful in 5s
CI and deploy / deploy (push) Failing after 20s
sql first refactor
2026-04-19 20:02:20 +02:00

12 lines
493 B
SQL
Raw Permalink Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
-- 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, …).';