mirror of
https://github.com/rbock/sqlpp11.git
synced 2024-11-16 04:47:18 +08:00
Added enum and set to be interpreted as text
Maybe we will need a better mapping one fine day...
This commit is contained in:
parent
1b2020a5d2
commit
dc9f03fb56
@ -128,6 +128,8 @@ types = {
|
|||||||
'date' : 'day_point',
|
'date' : 'day_point',
|
||||||
'datetime' : 'time_point',
|
'datetime' : 'time_point',
|
||||||
'timestamp' : 'time_point',
|
'timestamp' : 'time_point',
|
||||||
|
'enum' : 'text', # MYSQL
|
||||||
|
'set' : 'text', # MYSQL
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user