-
-
Notifications
You must be signed in to change notification settings - Fork 10.4k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Added migration to include donation_message in donation_payment_events (
#20839) ref PLG-197 - DB migration to add `donation_message` to `donation_payment_events` table
- Loading branch information
1 parent
a79ab03
commit 41e696f
Showing
3 changed files
with
12 additions
and
2 deletions.
There are no files selected for viewing
9 changes: 9 additions & 0 deletions
9
...rsions/5.91/2024-08-28-05-28-22-add-donation-message-column-to-donation-payment-events.js
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,9 @@ | ||
// For information on writing migrations, see https://www.notion.so/ghost/Database-migrations-eb5b78c435d741d2b34a582d57c24253 | ||
|
||
const {createAddColumnMigration} = require('../../utils'); | ||
|
||
module.exports = createAddColumnMigration('donation_payment_events', 'donation_message', { | ||
type: 'string', | ||
maxlength: 255, // as per stripe limitation for custom fields https://docs.stripe.com/payments/checkout/custom-fields | ||
nullable: true | ||
}); |
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