Skip to content
Snippets Groups Projects
Verified Commit 3567547a authored by Carlos Andres Planchon Prestes's avatar Carlos Andres Planchon Prestes 💬
Browse files

Adding migration script.

parent 991cfd43
No related branches found
No related tags found
2 merge requests!2PROD1.0,!1PROD 0.1
#!/bin/bash
# -*- coding: utf-8 -*-
# Restart database:
docker compose down
docker compose up -d
# Remove old migrations:
rm -rf -y dashboard/migrations/*
# Perform migration:
python manage.py makemigrations
python manage.py migrate
# Create Superuser:
python manage.py createsuperuser
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment