Commit 9bd7f215 authored by BERJON Matthieu's avatar BERJON Matthieu

Update of the migration script

I updated some paths related to the naming of the module in the django
apps.
Signed-off-by: BERJON Matthieu's avatarMatthieu Berjon <matthieu.berjon@inria.fr>
parent 4097a5ae
......@@ -52,14 +52,14 @@ LoadDb () {
# Ensure that the virtual environment is activated
#
# In production, there is no need of virtual environment
rm -rf poc/migrations
rm -rf main/migrations
# Apply the migration
mysql -u $USER $PASS -h $HOST $DB< $CUR_DIR/migration2django.sql
# Tell Django to use the current status of the database and start the migrations
# from that point
python3 manage.py makemigrations auth poc
python3 manage.py makemigrations
python3 manage.py migrate --fake
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment