Skip to content

Commit

Permalink
[Schema] Defaut date values #2291
Browse files Browse the repository at this point in the history
This is a missing patch for #2222
  • Loading branch information
xlecours authored and driusan committed Oct 17, 2016
1 parent 7897003 commit 8fd3e9e
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions SQL/Archive/17.0/2016-10-17_Default_date_value.sql
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
ALTER TABLE `users`
CHANGE COLUMN `Password_expiry` `Password_expiry` DATE NOT NULL DEFAULT '1990-04-01' ;
ALTER TABLE `tarchive`
CHANGE COLUMN `PatientDoB` `PatientDoB` DATE NULL DEFAULT NULL ,
CHANGE COLUMN `LastUpdate` `LastUpdate` DATETIME NULL DEFAULT NULL ,
CHANGE COLUMN `DateAcquired` `DateAcquired` DATE NULL DEFAULT NULL ;

0 comments on commit 8fd3e9e

Please sign in to comment.