From d1bfee24abbc9566451241b6ee19923cca7cb00d Mon Sep 17 00:00:00 2001 From: Guillaume Pellerin Date: Wed, 24 Sep 2025 10:54:16 +0200 Subject: [PATCH] split migration scripts --- makemigrations.sh | 6 ++++++ migrate.sh | 4 ++++ update_schema.sh | 7 ------- 3 files changed, 10 insertions(+), 7 deletions(-) create mode 100755 makemigrations.sh create mode 100755 migrate.sh delete mode 100755 update_schema.sh 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 - -- 2.39.5