From 47f3ab6d8a2239ca7597529fd04111c97a647ca5 Mon Sep 17 00:00:00 2001 From: Travis Semple Date: Mon, 30 Oct 2023 12:15:57 -0700 Subject: [PATCH] Remove default=False, put in server_default='f' --- ...3_10_26_2ef58b39cafc_add_eft_enable_to_payment_accounts.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pay-api/migrations/versions/2023_10_26_2ef58b39cafc_add_eft_enable_to_payment_accounts.py b/pay-api/migrations/versions/2023_10_26_2ef58b39cafc_add_eft_enable_to_payment_accounts.py index e5470e29f..b80a3b1f0 100644 --- a/pay-api/migrations/versions/2023_10_26_2ef58b39cafc_add_eft_enable_to_payment_accounts.py +++ b/pay-api/migrations/versions/2023_10_26_2ef58b39cafc_add_eft_enable_to_payment_accounts.py @@ -18,8 +18,8 @@ def upgrade(): op.execute("set statement_timeout=20000;") - op.add_column('payment_accounts', sa.Column('eft_enable', sa.Boolean(), nullable=False, default=False)) - op.add_column('payment_accounts_version', sa.Column('eft_enable', sa.Boolean(), nullable=False, default=False)) + op.add_column('payment_accounts', sa.Column('eft_enable', sa.Boolean(), nullable=False, server_default='f')) + op.add_column('payment_accounts_version', sa.Column('eft_enable', sa.Boolean(), nullable=False, server_default='f')) def downgrade():