DbConnector: Indexes on tasks table

This commit is contained in:
Gian Merlino 2014-02-05 15:59:00 -08:00
parent 056e82a516
commit 53c5124b99
1 changed files with 2 additions and 1 deletions

View File

@ -87,7 +87,8 @@ public class DbConnector
+ " `payload` longblob NOT NULL,\n"
+ " `status_payload` longblob NOT NULL,\n"
+ " `active` tinyint(1) NOT NULL DEFAULT '0',\n"
+ " PRIMARY KEY (`id`)\n"
+ " PRIMARY KEY (`id`),\n"
+ " KEY (active, created_date(100))\n"
+ ")",
taskTableName
)