1
0
Fork 0
mirror of https://github.com/archtechx/tenancy.git synced 2026-02-05 18:34:04 +00:00
Commit graph

27 commits

Author SHA1 Message Date
lukinovec
3ef1c38414 Delete single-call DB transactions 2023-05-31 07:38:43 +02:00
lukinovec
8ccc27e8c3 Rename bootstrapper 2023-05-29 11:15:38 +02:00
lukinovec
47fe86c21e Use DB transactions 2023-05-24 14:57:06 +02:00
lukinovec
d60062131a Complete todo cleanup 2023-05-23 10:30:47 +02:00
lukinovec
fcb54cbe8e Delete the UUID-specific logic, make RLS possible with non-UUID primary keys 2023-05-10 15:36:07 +02:00
lukinovec
90a0343223 Simplify UUID models 2023-05-10 13:07:08 +02:00
lukinovec
974950c300 Clean up 2023-05-10 12:49:53 +02:00
lukinovec
99fc1e3f87 Add return types to relationship methods 2023-05-10 12:47:51 +02:00
lukinovec
0f921c1362 Fix Postgres test 2023-05-10 12:27:28 +02:00
lukinovec
fb042a0671 Use models with UUID in the tests (wip) 2023-05-10 11:21:43 +02:00
lukinovec
17d779e130 Scope queries using Postgres RLS (WIP) 2023-05-09 16:07:06 +02:00
lukinovec
eb7baa5360 Skip RLS test (RLS is WIP) 2023-04-28 14:28:20 +02:00
lukinovec
ce7ddbf401 Complete scaffolded RLS test 2023-04-28 14:27:29 +02:00
lukinovec
0a2415319b Improve RLS policies test, move setup things to beforeEach, scaffold test for scoping queries 2023-04-27 18:06:11 +02:00
lukinovec
a5d004132c Delete temp action, improve tests 2023-04-27 13:47:56 +02:00
lukinovec
b66773da80 Try conditionally creating tenants table 2023-04-27 13:08:24 +02:00
lukinovec
e169cf49fa Create and drop schema in tests 2023-04-26 18:10:19 +02:00
lukinovec
034c284303 wip 2023-04-26 15:34:27 +02:00
lukinovec
562d507482 Test if policies get created correctly using action 2023-04-26 15:25:50 +02:00
lukinovec
910da724e4 WIP 2023-04-26 14:02:18 +02:00
lukinovec
e15eb01c7f WIP 2023-04-26 13:58:52 +02:00
lukinovec
add92b99cc Fixing test WIP 2023-04-26 13:54:56 +02:00
lukinovec
800af2d818 Try fixing the CI issue 2023-04-26 13:11:37 +02:00
lukinovec
331df8e239 Update Postgres tests 2023-04-26 12:42:19 +02:00
lukinovec
4ceb7c82e1 Add test for creating RLS policies for tables 2023-04-25 18:00:44 +02:00
lukinovec
ae25e25715 Fix job & test 2023-04-25 12:33:29 +02:00
lukinovec
dd4013c998 Add Postgres tests 2023-04-24 16:58:31 +02:00