Add index on succeeded tasks (#164)

* Add index on task table

* also add models file

* add make commands and limit index

* format
This commit is contained in:
Stan Triepels
2024-09-08 03:37:28 +02:00
committed by GitHub
parent 2191897825
commit 69e794f1af
3 changed files with 37 additions and 0 deletions
+9
View File
@@ -4,6 +4,15 @@ dev:
test:
docker-compose -f test-services-docker-compose.yaml run --rm django-q2 poetry run pytest
shell:
docker-compose -f test-services-docker-compose.yaml run --rm django-q2 poetry run python manage.py shell
makemigrations:
docker-compose -f test-services-docker-compose.yaml run --rm django-q2 poetry run python manage.py makemigrations
migrate:
docker-compose -f test-services-docker-compose.yaml run --rm django-q2 poetry run python manage.py migrate
createsuperuser:
docker compose -f web-docker-compose.yaml run --rm web python manage.py createsuperuser