mirror of
https://we.phorge.it/source/phorge.git
synced 2024-12-24 14:30:56 +01:00
7a5f622820
Summary: This has no real behavioral changes (except better error handling), it just factors things out to be a bit cleaner. In particular: - Move more shared form behaviors into the common JS form component. - Move more error handling into shared pathways. - Make the specialized Stripe / Balanced methods do less work. This needs some more polish for nontrival errors (especially on the Balanced side) but none of the error behavior is worse than it was and a lot of it is much better. Ref T2787. Test Plan: Hit all invalid form errors, added valid payment methods with Stripe and Balacned. Reviewers: btrahan, chad Reviewed By: btrahan CC: aran Maniphest Tasks: T2787 Differential Revision: https://secure.phabricator.com/D5771
19 lines
627 B
SQL
19 lines
627 B
SQL
TRUNCATE TABLE {$NAMESPACE}_phortune.phortune_paymentmethod;
|
|
|
|
ALTER TABLE {$NAMESPACE}_phortune.phortune_paymentmethod
|
|
ADD brand VARCHAR(64) NOT NULL;
|
|
|
|
ALTER TABLE {$NAMESPACE}_phortune.phortune_paymentmethod
|
|
ADD expires VARCHAR(16) NOT NULL;
|
|
|
|
ALTER TABLE {$NAMESPACE}_phortune.phortune_paymentmethod
|
|
ADD providerType VARCHAR(16) NOT NULL;
|
|
|
|
ALTER TABLE {$NAMESPACE}_phortune.phortune_paymentmethod
|
|
ADD providerDomain VARCHAR(64) NOT NULL;
|
|
|
|
ALTER TABLE {$NAMESPACE}_phortune.phortune_paymentmethod
|
|
ADD lastFourDigits VARCHAR(16) NOT NULL;
|
|
|
|
ALTER TABLE {$NAMESPACE}_phortune.phortune_paymentmethod
|
|
DROP expiresEpoch;
|