Convert user admission workflow to use a PostgreSQL stored function to replace the application-layer upsert during invoice confirmation flow.
This is to complete an explicit TODO in payments-service.ts.
Acceptance Criteria
Related
- See TODO in payments-service.ts
Convert user admission workflow to use a PostgreSQL stored function to replace the application-layer upsert during invoice confirmation flow.
This is to complete an explicit TODO in payments-service.ts.
Acceptance Criteria
admit_userdatabase function using atomic ON CONFLICT DO UPDATE constraintsadmitUserinterface and DB implementation in UserRepositoryRelated