From 8fd3e9ed0189d3737424499313d6eba4bb359978 Mon Sep 17 00:00:00 2001 From: xlecours Date: Mon, 17 Oct 2016 14:06:53 -0400 Subject: [PATCH] [Schema] Defaut date values #2291 This is a missing patch for #2222 --- SQL/Archive/17.0/2016-10-17_Default_date_value.sql | 6 ++++++ 1 file changed, 6 insertions(+) create mode 100644 SQL/Archive/17.0/2016-10-17_Default_date_value.sql diff --git a/SQL/Archive/17.0/2016-10-17_Default_date_value.sql b/SQL/Archive/17.0/2016-10-17_Default_date_value.sql new file mode 100644 index 00000000000..f455fbc6654 --- /dev/null +++ b/SQL/Archive/17.0/2016-10-17_Default_date_value.sql @@ -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 ;