Remove all migrations for now
This commit is contained in:
@@ -13,6 +13,7 @@ install-dev:
|
||||
$(VENV_DIR)/bin/pip install -r $(REQ_FILE) -r requirements-dev.txt
|
||||
|
||||
start:
|
||||
docker compose down -v db
|
||||
docker compose up --build
|
||||
|
||||
clean-db:
|
||||
@@ -22,13 +23,3 @@ clean-db:
|
||||
clean:
|
||||
rm -rf $(VENV_DIR)
|
||||
|
||||
start-db:
|
||||
docker compose up -d db
|
||||
|
||||
create-migration:
|
||||
@read -p "Enter migration message: " MESSAGE; \
|
||||
if [ -z "$$MESSAGE" ]; then \
|
||||
echo "Migration message cannot be empty."; \
|
||||
exit 1; \
|
||||
fi; \
|
||||
cd backend && alembic revision --autogenerate -m "$$MESSAGE"
|
||||
Reference in New Issue
Block a user