We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent bb4e7b4 commit fd399fbCopy full SHA for fd399fb
tests.py
@@ -334,6 +334,11 @@ def test_unregister_unregisters_multiple(self):
334
self.db.unregister_model(self.MyModel)
335
assert self.db.model_registry == {}
336
337
+ def test_add_column_doesnt_break_anything(self):
338
+ self.db.run("ALTER TABLE foo ADD COLUMN boo text")
339
+ one = self.db.one("SELECT foo.*::foo FROM foo WHERE bar='baz'")
340
+ assert one.boo is None
341
+
342
343
# cursor_factory
344
# ==============
0 commit comments