Skip to content

Commit

Permalink
feat: Update workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
dinushchathurya committed Jan 2, 2025
1 parent c58b4f4 commit a898cfa
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions gh-ost-with-tracking.sh
Original file line number Diff line number Diff line change
Expand Up @@ -70,8 +70,8 @@ validate_gh_ost_migration() {
local file="$1"
echo "Validating file: $file"

local alter_sql=$(extract_sql "$file" "// gh-ost: ALTER TABLE .* (ADD, CHANGE) COLUMN .*")
local rollback_sql=$(extract_sql "$file" "// gh-ost: ALTER TABLE .* (DROP, CHANGE) COLUMN .*")
local alter_sql=$(extract_sql "$file" "// gh-ost: ALTER TABLE .* (ADD | CHANGE) COLUMN .*")
local rollback_sql=$(extract_sql "$file" "// gh-ost: ALTER TABLE .* (DROP | CHANGE) COLUMN .*")

echo " Debug: Extracted ADD COLUMN SQL: $alter_sql"
echo " Debug: Extracted DROP COLUMN SQL: $rollback_sql"
Expand Down

0 comments on commit a898cfa

Please sign in to comment.