From b188e8a630a678d5191909d1a6936c0e5f93f741 Mon Sep 17 00:00:00 2001 From: "David J. Kalbfleisch" <1.21e9W@protonmail.com> Date: Tue, 23 Apr 2024 12:52:08 -0400 Subject: [PATCH] squash --- migrations/versions/0368_servicesmssender_columns.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/migrations/versions/0368_servicesmssender_columns.py b/migrations/versions/0368_servicesmssender_columns.py index 16f021359a..7a3003a042 100644 --- a/migrations/versions/0368_servicesmssender_columns.py +++ b/migrations/versions/0368_servicesmssender_columns.py @@ -15,10 +15,10 @@ def upgrade(): op.add_column('service_sms_senders', sa.Column('description', sa.String(length=256), nullable=True)) op.add_column('service_sms_senders', sa.Column('provider_id', postgresql.UUID(), nullable=True)) - op.create_foreign_key('fk_service_sms_senders_provider_id', 'service_sms_senders', 'provider_details', ['provider_id'], ['id']) + op.create_foreign_key('service_sms_senders_provider_id_fkey', 'service_sms_senders', 'provider_details', ['provider_id'], ['id']) def downgrade(): - op.drop_constraint('fk_service_sms_senders_provider_id', 'service_sms_senders', type_='foreignkey') + op.drop_constraint('service_sms_senders_provider_id_fkey', 'service_sms_senders', type_='foreignkey') op.drop_column('service_sms_senders', 'provider_id') op.drop_column('service_sms_senders', 'description')