]> git.jsancho.org Git - datasette-connectors.git/blobdiff - tests/dummy.py
datasette==0.51.1
[datasette-connectors.git] / tests / dummy.py
index 04c6686ad459a81eba587adbed51c984c526eccb..873894fcce6a4e116047ef778d94c0b5b30fa5ab 100644 (file)
@@ -22,19 +22,28 @@ class DummyConnector(dc.Connector):
     def table_info(self, table_name):
         return [
             {
-                'idx': 0,
+                'cid': 0,
                 'name': 'c1',
-                'primary_key': False,
+                'type': 'integer',
+                'notnull': False,
+                'default_value': None,
+                'is_pk': False,
             },
             {
-                'idx': 0,
+                'cid': 1,
                 'name': 'c2',
-                'primary_key': False,
+                'type': 'integer',
+                'notnull': False,
+                'default_value': None,
+                'is_pk': False,
             },
             {
-                'idx': 0,
+                'cid': 2,
                 'name': 'c3',
-                'primary_key': False,
+                'type': 'integer',
+                'notnull': False,
+                'default_value': None,
+                'is_pk': False,
             },
         ]