]> git.parisson.com Git - telecaster-instance.git/commitdiff
split migration scripts release/1.9
authorGuillaume Pellerin <pellerin@parisson.com>
Wed, 24 Sep 2025 08:54:16 +0000 (10:54 +0200)
committerGuillaume Pellerin <pellerin@parisson.com>
Wed, 24 Sep 2025 08:54:16 +0000 (10:54 +0200)
makemigrations.sh [new file with mode: 0755]
migrate.sh [new file with mode: 0755]
update_schema.sh [deleted file]

diff --git a/makemigrations.sh b/makemigrations.sh
new file mode 100755 (executable)
index 0000000..0f65b7f
--- /dev/null
@@ -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 (executable)
index 0000000..b6d3058
--- /dev/null
@@ -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 (executable)
index e0d592e..0000000
+++ /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
-