added storage of length, notnull, unique in .table files
This commit is contained in:
@@ -1 +1 @@
|
|||||||
Version 2.1.0 (2012-10-14 14:28:13) dev
|
Version 2.1.0 (2012-10-14 14:41:24) dev
|
||||||
|
|||||||
@@ -835,6 +835,9 @@ class BaseAdapter(ConnectionPool):
|
|||||||
|
|
||||||
# add to list of fields
|
# add to list of fields
|
||||||
sql_fields[field_name] = dict(
|
sql_fields[field_name] = dict(
|
||||||
|
length=field.length,
|
||||||
|
unique=field.unique,
|
||||||
|
notnull=field.notnull,
|
||||||
sortable=sortable,
|
sortable=sortable,
|
||||||
type=str(field_type),
|
type=str(field_type),
|
||||||
sql=ftype)
|
sql=ftype)
|
||||||
|
|||||||
Reference in New Issue
Block a user