Warning in make migrate target
This commit is contained in:
parent
f5d5eee267
commit
a77b388f8e
1 changed files with 1 additions and 0 deletions
|
@ -43,6 +43,7 @@ update:
|
||||||
|
|
||||||
# Migration target
|
# Migration target
|
||||||
migrate:
|
migrate:
|
||||||
|
@echo "If this ever fails, run make clean and try again"
|
||||||
@echo "Migrating database $(DB_FILE) using SQL scripts in $(MIGRATIONS_DIR)"
|
@echo "Migrating database $(DB_FILE) using SQL scripts in $(MIGRATIONS_DIR)"
|
||||||
@for file in $(wildcard $(MIGRATIONS_DIR)/*.sql); do \
|
@for file in $(wildcard $(MIGRATIONS_DIR)/*.sql); do \
|
||||||
echo "Applying migration: $$file"; \
|
echo "Applying migration: $$file"; \
|
||||||
|
|
Loading…
Reference in a new issue