Added index to datastore

Co-Authored-By: GHMatti <ghmatti@users.noreply.github.com>
This commit is contained in:
ElPumpo
2018-11-03 23:08:23 +01:00
parent 22e877aef8
commit ae1a7c8ca0
+3
View File
@@ -15,5 +15,8 @@ CREATE TABLE `datastore_data` (
`owner` varchar(255),
`data` longtext,
INDEX index_datastore_name (`name`),
CONSTRAINT unique_datastore_owner_name UNIQUE (`owner`, `name`),
PRIMARY KEY (`id`)
);