From: Guillaume Pellerin Date: Wed, 24 Sep 2025 08:54:16 +0000 (+0200) Subject: split migration scripts X-Git-Url: https://git.parisson.com/?a=commitdiff_plain;h=refs%2Fheads%2Frelease%2F1.9;p=telecaster-instance.git split migration scripts --- diff --git a/makemigrations.sh b/makemigrations.sh new file mode 100755 index 0000000..0f65b7f --- /dev/null +++ b/makemigrations.sh @@ -0,0 +1,6 @@ +#!/bin/sh + +env/bin/python2 ./manage.py schemamigration teleforma --auto +env/bin/python2 ./manage.py schemamigration telemeta --auto +env/bin/python2 ./manage.py schemamigration telecaster --auto + diff --git a/migrate.sh b/migrate.sh new file mode 100755 index 0000000..b6d3058 --- /dev/null +++ b/migrate.sh @@ -0,0 +1,4 @@ +#!/bin/sh + +env/bin/python2 ./manage.py migrate + diff --git a/update_schema.sh b/update_schema.sh deleted file mode 100755 index e0d592e..0000000 --- a/update_schema.sh +++ /dev/null @@ -1,7 +0,0 @@ -#!/bin/sh - -./manage.py schemamigration teleforma --auto -./manage.py schemamigration telemeta --auto -./manage.py schemamigration telecaster --auto -./manage.py migrate -