Splitting off from #435. A tenancy strategy where all tenants are stored in the same tables, but we use some kind of "tenant id" column to segregate data. You could always just do this yourself as long as you remember to always query by the right tenant id, but it'd be a lot easier if Marten just supported this pattern.
I think this one is straight forward enough that it'll be the first strategy and create the template for acceptance tests.
General Tasks:
Default where fragment logic on DocumentMapping when it's multi-tenanted
Filter() logic on DocumentMapping when it's multi-tenanted
Splitting off from #435. A tenancy strategy where all tenants are stored in the same tables, but we use some kind of "tenant id" column to segregate data. You could always just do this yourself as long as you remember to always query by the right tenant id, but it'd be a lot easier if Marten just supported this pattern.
I think this one is straight forward enough that it'll be the first strategy and create the template for acceptance tests.
General Tasks:
TenantIdColumnthat gets added to the document table when the flag is setDefault where fragment logic on DocumentMapping when it's multi-tenanted
Filter() logic on DocumentMapping when it's multi-tenanted