pgtoolkit/pgbrowser.py
changeset 87 3ef717ee9253
parent 86 b61b54aa9f96
child 94 a10f553e6f6a
--- a/pgtoolkit/pgbrowser.py	Fri Aug 16 13:19:26 2013 +0200
+++ b/pgtoolkit/pgbrowser.py	Tue Sep 24 13:34:15 2013 +0200
@@ -30,7 +30,7 @@
 
 class Column:
     def __init__(self, browser, table,
-        name, type, notnull, hasdefault, default, description):
+            name, type, notnull, hasdefault, default, description):
         self.browser = browser  # Browser instance
         self.table = table  # Table instance
         self.name = name
@@ -54,7 +54,8 @@
 
 class Index:
     def __init__(self, browser, table,
-        name, primary, unique, clustered, valid, definition):
+            name, primary, unique, clustered, valid, definition,
+            columns):
         self.browser = browser
         self.table = table
         self.name = name
@@ -63,6 +64,7 @@
         self.clustered = clustered
         self.valid = valid
         self.definition = definition
+        self.columns = columns
 
 
 class Table: