mirror of
https://github.com/yweber/lodel2.git
synced 2025-11-22 13:46:54 +01:00
sqlWrapper: default attend un objet
This commit is contained in:
parent
07209417a7
commit
3ce6e1774e
1 changed files with 1 additions and 1 deletions
|
|
@ -122,7 +122,7 @@ class SqlWrapper(object):
|
|||
if 'primarykey' in column_extra:
|
||||
column.primary_key = column_extra['primarykey']
|
||||
if 'default' in column_extra:
|
||||
column.default = column_extra['default']
|
||||
column.default = ColumnDefault(column_extra['default'])
|
||||
if 'foreingkey' in column_extra:
|
||||
column.append_foreign_key(ForeignKey(column_extra['foreignkey']))
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue