diff options
Diffstat (limited to 'bulk/person.hxx')
-rw-r--r-- | bulk/person.hxx | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/bulk/person.hxx b/bulk/person.hxx index ac7a66b..177d4ce 100644 --- a/bulk/person.hxx +++ b/bulk/person.hxx @@ -8,13 +8,14 @@ #include <odb/core.hxx> -#pragma db object +#pragma db object bulk(3) class person { public: #pragma db id auto unsigned long id; + #pragma db unique unsigned int num; #ifdef ODB_DATABASE_MSSQL |