|
|
|
|
122
|
if 'primarykey' in column_extra:
|
122
|
if 'primarykey' in column_extra:
|
123
|
column.primary_key = column_extra['primarykey']
|
123
|
column.primary_key = column_extra['primarykey']
|
124
|
if 'default' in column_extra:
|
124
|
if 'default' in column_extra:
|
125
|
- column.default = column_extra['default']
|
|
|
|
|
125
|
+ column.default = ColumnDefault(column_extra['default'])
|
126
|
if 'foreingkey' in column_extra:
|
126
|
if 'foreingkey' in column_extra:
|
127
|
column.append_foreign_key(ForeignKey(column_extra['foreignkey']))
|
127
|
column.append_foreign_key(ForeignKey(column_extra['foreignkey']))
|
128
|
|
128
|
|