1
0
mirror of https://github.com/vlang/v.git synced 2023-08-10 21:13:21 +03:00

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
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]