Add province-scoped branches for loan paid letters and harden loans.user_id.
Expose GET /loan-paid-off-letters/branches?province_id= for form pickers, require loans.user_id, and proxy the Vite frontend under /online/. Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
@@ -216,7 +216,7 @@ CREATE TABLE IF NOT EXISTS loan_orders (
|
||||
|
||||
CREATE TABLE IF NOT EXISTS loans (
|
||||
id bigserial PRIMARY KEY,
|
||||
user_id bigint,
|
||||
user_id bigint NOT NULL,
|
||||
passport_serie character varying(255) NOT NULL,
|
||||
passport_id character varying(255) NOT NULL,
|
||||
account_number character varying(255) NOT NULL,
|
||||
|
||||
Reference in New Issue
Block a user