Skip to content

Make github_branch migration idempotent: add column only if not exists#4754

Merged
RishabhJain2018 merged 1 commit intomasterfrom
fix-migration
Jul 28, 2025
Merged

Make github_branch migration idempotent: add column only if not exists#4754
RishabhJain2018 merged 1 commit intomasterfrom
fix-migration

Conversation

@RishabhJain2018
Copy link
Copy Markdown
Member

Make github_branch migration idempotent: add column only if not exists

  • Replace AddField with conditional RunSQL to prevent errors if column already exists
  • Ensure safe automated deployments on PostgreSQL (including AWS RDS)

@RishabhJain2018 RishabhJain2018 merged commit 8cce5ad into master Jul 28, 2025
2 checks passed
@RishabhJain2018 RishabhJain2018 deleted the fix-migration branch July 28, 2025 17:45
RishabhJain2018 added a commit that referenced this pull request Mar 2, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant