Put the user's role and branch on GET /profile, upsert role_user and branch_user on POST, and drop their list endpoints.
Also accept flexible card-order form values, move mock seed under db/mock, and regenerate Swagger. Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
2
Makefile
2
Makefile
@@ -12,7 +12,7 @@ migrate:
|
||||
migrate-rollback:
|
||||
migrate -database 'postgres://bank_admin:bank%40%2323%23%40_password@localhost:5424/bank_db?sslmode=disable' -path db/migrations down
|
||||
seed:
|
||||
docker exec -i main-db psql -U bank_admin -d bank_db -f - < db/seed.sql
|
||||
docker exec -i main-db psql -U bank_admin -d bank_db -f - < db/mock/seed.sql
|
||||
|
||||
# ---- for linux
|
||||
# migrate:
|
||||
|
||||
Reference in New Issue
Block a user