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

Update of the migration script

I updated some paths related to the naming of the module in the django
Signed-off-by: BERJON Matthieu's avatarMatthieu Berjon <>
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 makemigrations auth poc
python3 makemigrations
python3 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