Skip to content

[#1] FIX: Flyway 마이그레이션 SQL 수정#77

Merged
Hwan0518 merged 1 commit intodevelopfrom
feature/stats/fix-flyway
Jan 30, 2026
Merged

[#1] FIX: Flyway 마이그레이션 SQL 수정#77
Hwan0518 merged 1 commit intodevelopfrom
feature/stats/fix-flyway

Conversation

@Hwan0518
Copy link
Contributor

Issue ✨

버그 해결 💊

  • Flyway 마이그레이션 SQL 수정

Copilot AI review requested due to automatic review settings January 30, 2026 09:50
Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR updates a Flyway migration to use simpler, database-native syntax when adding the net_payload_weight column to the trade_item table. The goal is to fix a migration bug while keeping the script idempotent and compatible with the project's MariaDB 10.6 environment.

Changes:

  • Replace the previous information_schema + dynamic SQL approach with a direct ALTER TABLE ... ADD COLUMN IF NOT EXISTS statement for net_payload_weight.
  • Retain the existing backfill and NOT NULL constraint steps to ensure all rows get a valid net_payload_weight value.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@Hwan0518 Hwan0518 merged commit 8fd89da into develop Jan 30, 2026
6 checks passed
@Hwan0518 Hwan0518 deleted the feature/stats/fix-flyway branch January 30, 2026 09:52
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