-
Notifications
You must be signed in to change notification settings - Fork 1.4k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(router): add connector mit related columns to the payment method…
…s table (#3764)
- Loading branch information
Showing
9 changed files
with
156 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
10 changes: 10 additions & 0 deletions
10
migrations/2024-02-22-060352_add_mit_columns_to_payment_methods/down.sql
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
-- This file should undo anything in `up.sql` | ||
|
||
ALTER TABLE payment_methods | ||
DROP COLUMN status; | ||
|
||
ALTER TABLE payment_methods | ||
DROP COLUMN customer_acceptance; | ||
|
||
ALTER TABLE payment_methods | ||
DROP COLUMN connector_mandate_details; |
13 changes: 13 additions & 0 deletions
13
migrations/2024-02-22-060352_add_mit_columns_to_payment_methods/up.sql
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
-- Your SQL goes here | ||
|
||
ALTER TABLE payment_methods | ||
ADD COLUMN connector_mandate_details JSONB | ||
DEFAULT NULL; | ||
|
||
ALTER TABLE payment_methods | ||
ADD COLUMN customer_acceptance JSONB | ||
DEFAULT NULL; | ||
|
||
ALTER TABLE payment_methods | ||
ADD COLUMN status VARCHAR(64) | ||
NOT NULL DEFAULT 'active'; |