summaryrefslogtreecommitdiff
path: root/db/update.d/06_Shifts.php
diff options
context:
space:
mode:
Diffstat (limited to 'db/update.d/06_Shifts.php')
-rw-r--r--db/update.d/06_Shifts.php2
1 files changed, 2 insertions, 0 deletions
diff --git a/db/update.d/06_Shifts.php b/db/update.d/06_Shifts.php
index 721d73bc..4aeb59b1 100644
--- a/db/update.d/06_Shifts.php
+++ b/db/update.d/06_Shifts.php
@@ -7,6 +7,8 @@ if(sql_num_query("SHOW COLUMNS FROM `Shifts` LIKE 'Date_'") == 2) {
sql_query("ALTER TABLE `Shifts` DROP `Len`");
}
}
+ _datetime_to_int("Shifts", "DateS");
+ _datetime_to_int("Shifts", "DateE");
sql_query("ALTER TABLE `Shifts` CHANGE `DateS` `start` INT NOT NULL, CHANGE `DateE` `end` INT NOT NULL");
$applied = true;