Remove all migrations for now

This commit is contained in:
Jacob Windsor
2025-02-19 16:13:10 +01:00
parent 03aba52c6c
commit b64a09c33a
9 changed files with 2 additions and 281 deletions
+1 -10
View File
@@ -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"