summaryrefslogtreecommitdiff
path: root/db
diff options
context:
space:
mode:
authorPhilip Häusler <msquare@notrademark.de>2015-08-15 14:54:25 +0200
committerPhilip Häusler <msquare@notrademark.de>2015-08-15 14:54:25 +0200
commitcac86ef509de8543d473db421898b80ca3b8f8e3 (patch)
tree8c2506a25c882d93b768fcf33172ec6a637f3526 /db
parentbc84710e9dcb0f4b3f52402e9b75123ae1210bfd (diff)
add planned date of departure
Diffstat (limited to 'db')
-rw-r--r--db/update.sql3
1 files changed, 3 insertions, 0 deletions
diff --git a/db/update.sql b/db/update.sql
index 4ae7d295..594969f9 100644
--- a/db/update.sql
+++ b/db/update.sql
@@ -1,3 +1,6 @@
+/* Introduce planned departure date */
+ALTER TABLE `User` ADD `planned_departure_date` INT NULL, ADD INDEX ( `planned_departure_date` );
+
/* Allow longer angeltype names */
ALTER TABLE `AngelTypes` CHANGE `name` `name` VARCHAR( 50 ) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL DEFAULT '';