Applied migraitons + fixed make migrate
command
This commit is contained in:
parent
95919741dd
commit
f124264738
8
Makefile
8
Makefile
@ -232,6 +232,13 @@ restore: ## Run 'restore' service
|
|||||||
@$(DOCKER_COMPOSE) $(DOCKER_COMPOSE_FILES) run --rm $(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:
|
cleandb:
|
||||||
@prefix="bsky.local-"; \
|
@prefix="bsky.local-"; \
|
||||||
path="_data/backup/*" ; \
|
path="_data/backup/*" ; \
|
||||||
@ -266,6 +273,7 @@ cleandb:
|
|||||||
fi ; \
|
fi ; \
|
||||||
done ;
|
done ;
|
||||||
|
|
||||||
|
|
||||||
%:
|
%:
|
||||||
@:
|
@:
|
||||||
|
|
||||||
|
@ -1,2 +1,3 @@
|
|||||||
Django==5.1.3
|
Django==5.1.3
|
||||||
python-decouple==3.8
|
python-decouple==3.8
|
||||||
|
mysqlclient==2.2.6
|
||||||
|
Loading…
Reference in New Issue
Block a user