Bug 14053: Acquisition db tables are missing indexes - atomicupdates
authorFridolin Somers <fridolin.somers@biblibre.com>
Mon, 27 Apr 2015 15:01:37 +0000 (17:01 +0200)
committerTomas Cohen Arazi <tomascohen@gmail.com>
Mon, 8 Jun 2015 13:49:07 +0000 (10:49 -0300)
Signed-off-by: Mark Tompsett <mtompset@hotmail.com>
Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>
Signed-off-by: Tomas Cohen Arazi <tomascohen@gmail.com>
installer/data/mysql/atomicupdate/bug_14053-add_keys_aqbasket.sql [new file with mode: 0644]
installer/data/mysql/atomicupdate/bug_14053-add_keys_aqbooksellers.sql [new file with mode: 0644]
installer/data/mysql/atomicupdate/bug_14053-add_keys_aqbudgets.sql [new file with mode: 0644]
installer/data/mysql/atomicupdate/bug_14053-add_keys_aqbudgets_planning.sql [new file with mode: 0644]
installer/data/mysql/atomicupdate/bug_14053-add_keys_aqorders.sql [new file with mode: 0644]

diff --git a/installer/data/mysql/atomicupdate/bug_14053-add_keys_aqbasket.sql b/installer/data/mysql/atomicupdate/bug_14053-add_keys_aqbasket.sql
new file mode 100644 (file)
index 0000000..82c65e3
--- /dev/null
@@ -0,0 +1,3 @@
+ALTER IGNORE TABLE `aqbasket`
+    ADD KEY `authorisedby` (`authorisedby`)
+;
\ No newline at end of file
diff --git a/installer/data/mysql/atomicupdate/bug_14053-add_keys_aqbooksellers.sql b/installer/data/mysql/atomicupdate/bug_14053-add_keys_aqbooksellers.sql
new file mode 100644 (file)
index 0000000..f70175d
--- /dev/null
@@ -0,0 +1,3 @@
+ALTER IGNORE TABLE `aqbooksellers`
+    ADD KEY `name` (`name`(255))
+;
diff --git a/installer/data/mysql/atomicupdate/bug_14053-add_keys_aqbudgets.sql b/installer/data/mysql/atomicupdate/bug_14053-add_keys_aqbudgets.sql
new file mode 100644 (file)
index 0000000..03c9150
--- /dev/null
@@ -0,0 +1,7 @@
+ALTER IGNORE TABLE `aqbudgets`
+    ADD KEY `budget_parent_id` (`budget_parent_id`),
+    ADD KEY `budget_code` (`budget_code`),
+    ADD KEY `budget_branchcode` (`budget_branchcode`),
+    ADD KEY `budget_period_id` (`budget_period_id`),
+    ADD KEY `budget_owner_id` (`budget_owner_id`)
+;
\ No newline at end of file
diff --git a/installer/data/mysql/atomicupdate/bug_14053-add_keys_aqbudgets_planning.sql b/installer/data/mysql/atomicupdate/bug_14053-add_keys_aqbudgets_planning.sql
new file mode 100644 (file)
index 0000000..3c1b2b6
--- /dev/null
@@ -0,0 +1,3 @@
+ALTER IGNORE TABLE `aqbudgets_planning`
+    ADD KEY `budget_period_id` (`budget_period_id`)
+;
\ No newline at end of file
diff --git a/installer/data/mysql/atomicupdate/bug_14053-add_keys_aqorders.sql b/installer/data/mysql/atomicupdate/bug_14053-add_keys_aqorders.sql
new file mode 100644 (file)
index 0000000..ff8a585
--- /dev/null
@@ -0,0 +1,4 @@
+ALTER IGNORE TABLE `aqorders`
+    ADD KEY `parent_ordernumber` (`parent_ordernumber`),
+    ADD KEY `orderstatus` (`orderstatus`)
+;
\ No newline at end of file