feat: added beacon operation config editor

This commit is contained in:
Andrew Rioux
2025-01-31 02:00:22 -05:00
parent 66b59531c5
commit 71b2f70686
11 changed files with 398 additions and 20 deletions

View File

@@ -0,0 +1,15 @@
DROP TABLE beacon_config;
CREATE TABLE beacon_config (
config_id integer PRIMARY KEY AUTOINCREMENT NOT NULL,
config_name varchar NOT NULL,
mode text check (mode in ('single', 'regular', 'random', 'cron')),
regular_interval int,
random_min_time int,
random_max_time int,
cron_schedule varchar,
cron_mode text check (cron_mode in ('local', 'utc'))
);