From dca071cb6f5e0458d7647cd6599b6d43cef18866 Mon Sep 17 00:00:00 2001 From: mdipierro Date: Sun, 14 Oct 2012 14:41:28 -0500 Subject: [PATCH] added storage of length, notnull, unique in .table files --- VERSION | 2 +- gluon/dal.py | 3 +++ 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/VERSION b/VERSION index e5ff8014..1ac25a89 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -Version 2.1.0 (2012-10-14 14:28:13) dev +Version 2.1.0 (2012-10-14 14:41:24) dev diff --git a/gluon/dal.py b/gluon/dal.py index 27f428f6..702e8c2e 100644 --- a/gluon/dal.py +++ b/gluon/dal.py @@ -835,6 +835,9 @@ class BaseAdapter(ConnectionPool): # add to list of fields sql_fields[field_name] = dict( + length=field.length, + unique=field.unique, + notnull=field.notnull, sortable=sortable, type=str(field_type), sql=ftype)