mirror of
https://github.com/rbock/sqlpp11.git
synced 2026-05-14 23:28:55 -05:00
committed by
Roland Bock
parent
7be5797c0f
commit
b4acfa27e9
+2
-2
@@ -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