summaryrefslogtreecommitdiff
path: root/db/update.d/22_shifts.php
diff options
context:
space:
mode:
authormsquare <msquare@notrademark.de>2016-08-22 19:32:54 +0200
committermsquare <msquare@notrademark.de>2016-08-22 19:32:54 +0200
commit3f4be08865296431d070e4386a252dac84d528ec (patch)
tree08ab8c245137dff544c7c928b4a924e604b41ece /db/update.d/22_shifts.php
parent14d20933f7dcbf6d4aab3ee2c6444a19c7afdfd6 (diff)
remove old update script
Diffstat (limited to 'db/update.d/22_shifts.php')
-rw-r--r--db/update.d/22_shifts.php5
1 files changed, 0 insertions, 5 deletions
diff --git a/db/update.d/22_shifts.php b/db/update.d/22_shifts.php
deleted file mode 100644
index 3055c778..00000000
--- a/db/update.d/22_shifts.php
+++ /dev/null
@@ -1,5 +0,0 @@
-<?php
-if(sql_num_query("SHOW INDEX FROM `ShiftEntry` WHERE `Key_name` = 'SID' AND `Column_name` = 'TID'") == 0) {
- sql_query("ALTER TABLE `ShiftEntry` DROP INDEX `SID`, ADD INDEX `SID` ( `SID` , `TID` )");
- $applied = true;
-}