add: tag support for controller and relay

add: static on schedule
This commit is contained in:
Tobias Reisinger 2019-09-24 23:33:35 +02:00
parent 9a44bc494e
commit 636fdf8df1
11 changed files with 96 additions and 18 deletions

8
sql/migration_1.sql Normal file
View file

@ -0,0 +1,8 @@
alter table relays
add tag varchar(64);
alter table controllers
add tag varchar(64);
INSERT INTO schedules (id, name, periods) VALUES ('on', 'on', x'010000009F05');