Introduces a branch_user join table linking branches to users, plus create/delete API endpoints under the auth module for managing branch assignments. The create response includes the branch's localized name via a join. Regenerated swagger docs to include the new endpoints. Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
10 lines
300 B
SQL
10 lines
300 B
SQL
DROP TABLE IF EXISTS branch_user;
|
|
DROP TABLE IF EXISTS roles;
|
|
DROP TABLE IF EXISTS loan_order_required_docs;
|
|
DROP TABLE IF EXISTS loan_types;
|
|
DROP TABLE IF EXISTS card_states;
|
|
DROP TABLE IF EXISTS card_types;
|
|
DROP TABLE IF EXISTS branches;
|
|
DROP TABLE IF EXISTS provinces;
|
|
DROP TABLE IF EXISTS users;
|