projects
/
Pman.Core
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
90f2e0c
)
sql/Person.sql
author
Alan Knowles
<alan@roojs.com>
Tue, 21 Apr 2015 05:01:25 +0000
(13:01 +0800)
committer
Alan Knowles
<alan@roojs.com>
Tue, 21 Apr 2015 05:01:25 +0000
(13:01 +0800)
sql/Person.sql
patch
|
blob
|
history
diff --git
a/sql/Person.sql
b/sql/Person.sql
index
7507439
..
39c8eb1
100644
(file)
--- a/
sql/Person.sql
+++ b/
sql/Person.sql
@@
-34,6
+34,8
@@
ALTER TABLE Person ADD COLUMN alt_email VARCHAR(256) NULL ;
-- links to other tables. ??? in postgress these might need to be allow null... but we need them as NOT NULL ?
+-- otherwise empty values will not apply to database.. (mysql)
+
ALTER TABLE Person ADD COLUMN office_id int(11) NOT NULL default '0';
ALTER TABLE Person ADD COLUMN company_id int(11) NOT NULL default '0';