mirror of
https://github.com/rbock/sqlpp11.git
synced 2026-01-06 21:20:42 -06:00
committed by
Roland Bock
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
|
||||
|
||||
Reference in New Issue
Block a user