diff --git a/db/cats_schema.sql b/db/cats_schema.sql index 346015449..37c551a95 100755 --- a/db/cats_schema.sql +++ b/db/cats_schema.sql @@ -539,7 +539,7 @@ CREATE TABLE `contact` ( KEY `IDX_first_name` (`first_name`), KEY `IDX_last_name` (`last_name`), KEY `IDX_client_id` (`company_id`), - KEY ` IDX_title` (`title`), + KEY `IDX_title` (`title`), KEY `IDX_owner` (`owner`), KEY `IDX_date_created` (`date_created`), KEY `IDX_date_modified` (`date_modified`) diff --git a/db/upgrade-0.5.2-0.5.5.sql b/db/upgrade-0.5.2-0.5.5.sql index 060c5eb86..2f640d9d1 100755 --- a/db/upgrade-0.5.2-0.5.5.sql +++ b/db/upgrade-0.5.2-0.5.5.sql @@ -231,7 +231,7 @@ ALTER TABLE `contact` ADD KEY `IDX_site_id` (`site_id`); ALTER TABLE `contact` ADD KEY `IDX_first_name` (`first_name`); ALTER TABLE `contact` ADD KEY `IDX_last_name` (`last_name`); ALTER TABLE `contact` ADD KEY `IDX_client_id` (`client_id`); -ALTER TABLE `contact` ADD KEY ` IDX_title` (`title`); +ALTER TABLE `contact` ADD KEY `IDX_title` (`title`); ALTER TABLE `contact` ADD KEY `IDX_owner` (`owner`); ALTER TABLE `contact` ADD KEY `IDX_date_created` (`date_created`); ALTER TABLE `contact` ADD KEY `IDX_date_modified` (`date_modified`); diff --git a/test/data/test.sql b/test/data/test.sql index 7839ae97e..18748e05b 100644 --- a/test/data/test.sql +++ b/test/data/test.sql @@ -763,7 +763,7 @@ CREATE TABLE `contact` ( KEY `IDX_first_name` (`first_name`), KEY `IDX_last_name` (`last_name`), KEY `IDX_client_id` (`company_id`), - KEY ` IDX_title` (`title`), + KEY `IDX_title` (`title`), KEY `IDX_owner` (`owner`), KEY `IDX_date_created` (`date_created`), KEY `IDX_date_modified` (`date_modified`)