Skip to content

Commit 664a66f

Browse files
committed
update workflow to handle checksums correctly
1 parent d86457f commit 664a66f

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

taco/Makefile

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -112,6 +112,8 @@ atlas-diff-all: ## Generate migrations for all databases (use: make atlas-diff-a
112112
echo "💡 Tip: Use 'make atlas-diff-all name=descriptive_name' for better naming"; \
113113
fi
114114
@mkdir -p internal/query/migration/atlas/migrations/postgres internal/query/migration/atlas/migrations/mysql internal/query/migration/atlas/migrations/sqlite
115+
@echo "\n🔐 Generating checksums for existing migrations..."
116+
@$(MAKE) atlas-hash-all
115117
@echo "\n📊 PostgreSQL..." && atlas migrate diff $(NAME) --env postgres
116118
@echo "\n📊 MySQL..." && atlas migrate diff $(NAME) --env mysql
117119
@echo "\n📊 SQLite..." && atlas migrate diff $(NAME) --env sqlite

0 commit comments

Comments
 (0)