diff options
Diffstat (limited to 'mapping')
-rw-r--r-- | mapping/person.hxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/mapping/person.hxx b/mapping/person.hxx index ba07ef5..1638ff5 100644 --- a/mapping/person.hxx +++ b/mapping/person.hxx @@ -13,9 +13,9 @@ // In our database boolean values are stored as strings with valid // values being "true" and "false". // -#pragma db value(bool) type("VARCHAR(5) NOT NULL") +#pragma db value(bool) type("VARCHAR(5)") -#pragma db value type("DATE NOT NULL") +#pragma db value type("DATE") class date { public: |