Applied migraitons + fixed make migrate command

This commit is contained in:
Óscar M. Lage 2024-11-14 13:03:31 +01:00
parent 95919741dd
commit f124264738
3 changed files with 9 additions and 0 deletions

View File

@ -232,6 +232,13 @@ restore: ## Run 'restore' service
@$(DOCKER_COMPOSE) $(DOCKER_COMPOSE_FILES) run --rm $(RESTORE_SERVICE)
##
# migrate
#
migrate: ## Run 'migrate', django migrations, needs the container to be up and running
@$(DOCKER) exec -it "$(container)" /entrypoint.sh run-migrations
cleandb:
@prefix="bsky.local-"; \
path="_data/backup/*" ; \
@ -266,6 +273,7 @@ cleandb:
fi ; \
done ;
%:
@:

View File

@ -1,2 +1,3 @@
Django==5.1.3
python-decouple==3.8
mysqlclient==2.2.6