3
0
Fork 0

feat: add basic "auth" data models: user/role/perm

not really tested yet though, other than unit tests
This commit is contained in:
Lance Edgar 2024-07-13 23:25:20 -05:00
parent 7442047d0e
commit 639b0de8b1
11 changed files with 378 additions and 6 deletions

View file

@ -14,7 +14,16 @@ else:
def test_basic(self):
column = model.uuid_column()
self.assertIsInstance(column, sa.Column)
self.assertIsInstance(column.type, sa.String)
self.assertEqual(column.type.length, 32)
class TestUUIDFKColumn(TestCase):
def test_basic(self):
column = model.uuid_column()
self.assertIsInstance(column, sa.Column)
self.assertIsInstance(column.type, sa.String)
self.assertEqual(column.type.length, 32)
class TestSetting(TestCase):