mirror of
https://github.com/rbock/sqlpp11.git
synced 2024-11-15 20:31:16 +08:00
parent
7be5797c0f
commit
b4acfa27e9
@ -376,8 +376,8 @@ for create in tableCreations:
|
||||
print ('Error: datatype "' + sqlColumnType + '"" is not supported.')
|
||||
DataTypeError = True
|
||||
requireInsert = True
|
||||
column.hasAutoValue = column.hasAutoValue or (autoId and sqlColumnName == 'id')
|
||||
if column.hasAutoValue:
|
||||
hasAutoValue = column.hasAutoValue or (autoId and sqlColumnName == 'id')
|
||||
if hasAutoValue:
|
||||
traitslist.append(NAMESPACE + '::tag::must_not_insert')
|
||||
traitslist.append(NAMESPACE + '::tag::must_not_update')
|
||||
requireInsert = False
|
||||
|
Loading…
Reference in New Issue
Block a user