We are developing a project in cakephp4 but we are unable to use the prefix dynamically.
we need table prefix like pm_11_users,pm_12_users
Users are the table name, we want to add pm_11 and pm_12 dynamically
We are developing a project in cakephp4 but we are unable to use the prefix dynamically.
we need table prefix like pm_11_users,pm_12_users
Users are the table name, we want to add pm_11 and pm_12 dynamically
You should be able to do this by setting the table name in the initialize
function of your models.