fix migration
Some checks failed
/ build_macos (push) Has been cancelled
/ build_windows (push) Has been cancelled
/ Central Controller Build (push) Has been cancelled
/ build_ubuntu (push) Has been cancelled
/ multi-arch-docker (push) Has been cancelled

This commit is contained in:
Grant Limberg 2025-09-13 10:29:45 -07:00
parent ad1fc5fb3d
commit cb2de5aae1

View file

@ -1,5 +1,5 @@
CREATE TABLE IF NOT EXISTS controller_log (
controller_id CHAR(10) NOT NULL REFERENCES ztc_controller(id) ON DELETE CASCADE,
controller_id CHAR(10) NOT NULL REFERENCES controllers_ctl(id) ON DELETE CASCADE,
check_time TIMESTAMP WITH TIME ZONE NOT NULL,
load_factor REAL,
PRIMARY KEY (controller_id, check_time)