2
0
mirror of https://github.com/ACSPRI/queXS synced 2024-04-02 12:12:16 +00:00

Added optimisations to database structure

This commit is contained in:
Adam Zammit
2017-03-21 14:05:51 +11:00
parent 4febd4e384
commit 3e6f2e1759
2 changed files with 5 additions and 1 deletions

View File

@@ -1445,7 +1445,9 @@ CREATE TABLE `sample_import_var_restrict` (
`var` char(128) COLLATE utf8_unicode_ci DEFAULT NULL,
`type` smallint(10) unsigned NOT NULL,
`restrict` tinyint(1) NOT NULL DEFAULT '0',
PRIMARY KEY (`var_id`)
PRIMARY KEY (`var_id`),
KEY (`var`),
KEY (`sample_import_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
-- --------------------------------------------------------