aboutsummaryrefslogtreecommitdiff
path: root/schema/custom
diff options
context:
space:
mode:
authorConstantin Michael <constantin@codesynthesis.com>2011-11-18 11:35:23 +0200
committerConstantin Michael <constantin@codesynthesis.com>2011-11-18 11:35:23 +0200
commitf7a16c265622df5a4c6fb7441e9c8532e555615a (patch)
treee3477da44c81f9dff2284f8cc44d3659dc76fa5d /schema/custom
parent692431f9fd39fb5bb6f0790a09ef87c9258109b8 (diff)
Revert to using an unsigned type for the custom schema example employee ID
Diffstat (limited to 'schema/custom')
-rw-r--r--schema/custom/employee.hxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/schema/custom/employee.hxx b/schema/custom/employee.hxx
index 0f15cf8..f5d71c0 100644
--- a/schema/custom/employee.hxx
+++ b/schema/custom/employee.hxx
@@ -134,7 +134,7 @@ private:
employee (): name_ ("", "") {}
#pragma db id type("INTEGER") column("ssn")
- long id_;
+ unsigned long id_;
#pragma db column("") // No column prefix.
name_type name_;