-
Notifications
You must be signed in to change notification settings - Fork 1
Database creation
cold edited this page Sep 3, 2019
·
5 revisions
Database is located under db/schema.sql. You can import it easily using psql tool (create your database first!) :
psql databasename < db/schema.sql
Add controller to the database:
INSERT INTO controllers VALUES('id',<serial_number>,'<model>','<fw_version>','<conn_fw>',<active 1 if active 0 if not >,<mode>,<last_conection unixtime>,NULL, <check interval in seconds>);