feature: Application auto discovery (#6143)

This commit is contained in:
Tony Murray
2017-03-22 09:59:39 -05:00
committed by Neil Lathwood
parent 4e40314a3a
commit e7057ecea5
8 changed files with 243 additions and 85 deletions

3
sql-schema/181.sql Normal file
View File

@@ -0,0 +1,3 @@
ALTER TABLE `applications` CHANGE `app_state_prev` `app_state_prev` VARCHAR(32) NULL;
ALTER TABLE `applications` ADD `discovered` TINYINT NOT NULL DEFAULT '0' AFTER `app_state`;
ALTER IGNORE TABLE `applications` ADD UNIQUE `unique_index`(`device_id`, `app_type`);