Rule UI improvements

This commit is contained in:
M66B
2019-01-17 21:25:22 +00:00
parent 5cacec0670
commit 699d1be7ec
8 changed files with 86 additions and 58 deletions

View File

@@ -445,9 +445,9 @@ public abstract class DB extends RoomDatabase {
" `folder` INTEGER NOT NULL," +
" `name` TEXT NOT NULL," +
" `order` INTEGER NOT NULL," +
" `enabled` INTEGER NOT NULL," +
" `condition` TEXT NOT NULL," +
" `action` TEXT NOT NULL," +
" `enabled` INTEGER NOT NULL," +
" FOREIGN KEY(`folder`) REFERENCES `folder`(`id`) ON UPDATE NO ACTION ON DELETE CASCADE)");
db.execSQL("CREATE INDEX `index_rule_folder` ON `rule` (`folder`)");
db.execSQL("CREATE INDEX `index_rule_order` ON `rule` (`order`)");