sql/core_person.sql
authorAlan Knowles <alan@roojs.com>
Mon, 17 Jul 2017 02:17:02 +0000 (10:17 +0800)
committerAlan Knowles <alan@roojs.com>
Mon, 17 Jul 2017 02:17:02 +0000 (10:17 +0800)
sql/core_person.sql

index 32dc23d..1ae3a38 100644 (file)
@@ -22,7 +22,8 @@ ALTER TABLE core_person ADD COLUMN   remarks text NOT NULL;
 ALTER TABLE core_person ADD COLUMN   lang varchar(8) default 'en';
 ALTER TABLE core_person ADD COLUMN   country varchar(8) default '';
 
-SET SQL_MODE='ALLOW_INVALID_DATES';
+-- do not set SQL mode here - it needs to be done in the config
+-- SET SQL_MODE='ALLOW_INVALID_DATES';
 ALTER TABLE core_person ADD COLUMN   birth_date DATE NOT NULL DEFAULT '0000-00-00';
 
 -- main contact details