Fix signup database issues.
[?]
Oct 11, 2020, 6:27 PM
F4ONFXF4MSA3QM64T7ATRVO3NQR2MC3RVZGVNGSQXCKXXQX2UG7QCDependencies
- [2]
5IDB3IWSIntegrate zcashd-based zaddr validation. - [3]
AWWC6P5ZAdd migration to include payment network with addresses. - [4]
B6HWAPDPModularize & update to recent haskoin. - [5]
U256ZALIAdd captcha check to register route. - [6]
2XQD6KKKAdd invitation logic and clean up DBProg error handling. - [7]
73NDXDEZBegin implementation of billing event persistence. - [8]
EFSXYZPOAutoformat everything with brittany. - [*]
IZEVQF62Work in progress replacing sqlite with postgres. - [*]
BROSTG5KBeginning of modularization of server.
Change contents
- replacement in lib/Aftok/Database/PostgreSQL.hs at line 530
VALUES (?, ?, ?, ?) RETURNING id |]VALUES (?, ?, ?) RETURNING id |] - edit in migrations/2020-09-14_23-27-54_users-account-recovery.txt at line 8
ALTER TABLE users ALTER COLUMN default_payment_addr DROP NOT NULL; - edit in migrations/2020-09-14_23-27-54_users-account-recovery.txt at line 11
ALTER TABLE users ALTER COLUMN default_payment_addr SET NOT NULL; - replacement in server/Aftok/Snaplet/Users.hs at line 90
<*> (parseInvitationCodes =<< v .: "invitation_codes")<*> (parseInvitationCodes . maybeToList =<< v .:? "invitation_codes")