3
0
Fork 0

fix: add migration for auth tables

having now fixed the constraint naming convention
This commit is contained in:
Lance Edgar 2024-07-14 14:45:52 -05:00
parent 1995095627
commit 60d3fcd13b
4 changed files with 119 additions and 39 deletions

View file

@ -20,7 +20,7 @@ else:
class TestUUIDFKColumn(TestCase):
def test_basic(self):
column = model.uuid_column()
column = model.uuid_fk_column('foo.bar')
self.assertIsInstance(column, sa.Column)
self.assertIsInstance(column.type, sa.String)
self.assertEqual(column.type.length, 32)