Basic Changes in model and table client_master_id -------------- tenant_id client_user_id------------------ created_by branch_id ---------------------- tenant_branch_id country_id --------------------- tenant_country_id client_branch_id ---------------------- tenant_branch_id client_country_id --------------------- tenant_country_id 1. in Table create queries - take sc from live or local (describe table_name;) - upload in chat.openai.com at migration project's create query chat 2. in Model props - replace above in fillable and methods (By search&replace) - extends BaseTenantModel (if any table have tenant_id or storing for every client's data) - for ClientBranches its already in App\Tenant\ClientBranches
Comments
Post a Comment