Allow null payment link access token
All checks were successful
build-and-deploy / build-deploy (push) Successful in 36s
All checks were successful
build-and-deploy / build-deploy (push) Successful in 36s
This commit is contained in:
@@ -39,6 +39,8 @@ class PayuPaymentLinkSettingsSchemaFix(
|
|||||||
ensureColumn("payu_payment_link_settings", "client_secret", "text")
|
ensureColumn("payu_payment_link_settings", "client_secret", "text")
|
||||||
ensureColumn("payu_payment_link_settings", "access_token", "text")
|
ensureColumn("payu_payment_link_settings", "access_token", "text")
|
||||||
ensureColumn("payu_payment_link_settings", "token_expires_at", "timestamptz")
|
ensureColumn("payu_payment_link_settings", "token_expires_at", "timestamptz")
|
||||||
|
|
||||||
|
jdbcTemplate.execute("alter table payu_payment_link_settings alter column access_token drop not null")
|
||||||
}
|
}
|
||||||
|
|
||||||
private fun ensureColumn(table: String, column: String, type: String) {
|
private fun ensureColumn(table: String, column: String, type: String) {
|
||||||
|
|||||||
Reference in New Issue
Block a user