orm: fix other int types (#11981)

This commit is contained in:
Louis Schmieder 2021-09-26 10:17:56 +02:00 committed by GitHub
parent e09860731f
commit 6391f3d2da
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 21 additions and 3 deletions

View file

@ -12,7 +12,7 @@ struct Module {
struct User {
id int [primary; sql: serial]
age int [unique: 'user']
age u32 [unique: 'user']
name string [sql: 'username'; unique]
is_customer bool [sql: 'abc'; unique: 'user']
skipped_string string [skip]