Details
-
Improvement
-
Status: Open
-
Major
-
Resolution: Unresolved
-
None
-
None
-
None
-
None
Description
Many data models have a naming convention for the tenantId. It would be useful to define that convention with an optional Phoenix property in config, so if a tenant-specific connection is opened and a table is queried that has that tenantId column name in its PK, multi-tenant behavior automatically occurs even if MULTI_TENANT is not set in the table's metadata. (If MULTI_TENANT is explicitly false, multi-tenant behavior would not occur.)
Attachments
Issue Links
- depends upon
-
PHOENIX-5248 Allow MULTI_TENANT to use any PK column
-
- Open
-
- is depended upon by
-
PHOENIX-3939 Tenant-based Replication
-
- Open
-