diff options
author | Joakim Koljonen <koljonen@outlook.com> | 2017-07-05 17:57:38 +0200 |
---|---|---|
committer | Joakim Koljonen <koljonen@outlook.com> | 2017-07-05 17:57:38 +0200 |
commit | 2b0ca684d46336333068172d1ea2e7eb92f7d12d (patch) | |
tree | 8a51c54d324689ce208502c11e7a039ceb285708 /tests/metadata.py | |
parent | 3081caa1aafde076a8472d62091d131dd8ee72c8 (diff) |
Add defaults to column metadata
Diffstat (limited to 'tests/metadata.py')
-rw-r--r-- | tests/metadata.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/metadata.py b/tests/metadata.py index 37c8ff96..18a07d56 100644 --- a/tests/metadata.py +++ b/tests/metadata.py @@ -182,13 +182,13 @@ class MetaData(object): for tbl, cols in tbls.items(): tables.append((sch, tbl)) # Let all columns be text columns - tbl_cols.extend([(sch, tbl, col, 'text') for col in cols]) + tbl_cols.extend([(sch, tbl, col, 'text', False, None) for col in cols]) for sch, tbls in metadata.get('views', {}).items(): for tbl, cols in tbls.items(): views.append((sch, tbl)) # Let all columns be text columns - view_cols.extend([(sch, tbl, col, 'text') for col in cols]) + view_cols.extend([(sch, tbl, col, 'text', False, None) for col in cols]) functions = [ FunctionMetadata(sch, *func_meta) |