Allow null payment link access token
All checks were successful
build-and-deploy / build-deploy (push) Successful in 36s

This commit is contained in:
androidlover5842
2026-01-30 08:22:07 +05:30
parent a3257e4827
commit e6df0b7bb2

View File

@@ -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) {