Align schema, API routes, and auth with updated admin domain model.
Rename users table fields and loan documents table, expand branch billing credentials, switch to /api/admin prefix, refactor auth endpoints, replace PATCH with PUT for status updates, remove file upload APIs, and regenerate Swagger with ordered tags. Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
1 parent
0c717101da
commit
82e1aad016
22 files changed
+4248
-418
No files matched your search
@@ -1,8 +1,8 @@
|
||||
DROP TABLE IF EXISTS loans_documents;
|
||||
DROP TABLE IF EXISTS loan_required_documents;
|
||||
DROP TABLE IF EXISTS loan_types;
|
||||
DROP TABLE IF EXISTS reasons_cards;
|
||||
DROP TABLE IF EXISTS payment_cards;
|
||||
DROP TABLE IF EXISTS branches;
|
||||
DROP TABLE IF EXISTS location;
|
||||
DROP TABLE IF EXISTS province;
|
||||
DROP TABLE IF EXISTS admin;
|
||||
DROP TABLE IF EXISTS provinces;
|
||||
DROP TABLE IF EXISTS users;
|
||||
Reference in new issue
Block a user