This repository has been archived on 2023-02-21. You can view files and clone it, but cannot push or open issues or pull requests.
2014-04-01 15:59:05 +02:00
|
|
|
#!/bin/sh
|
|
|
|
|
2014-04-01 16:28:19 +02:00
|
|
|
. /etc/portail-citoyen/portail-citoyen2.conf
|
2014-04-01 15:59:05 +02:00
|
|
|
|
2014-08-12 19:04:06 +02:00
|
|
|
if [ "$MULTITENANT_MODE" = "yes" ]; then
|
2014-08-12 18:57:21 +02:00
|
|
|
python /usr/lib/portail-citoyen/manage.py sync_schemas --all --noinput
|
|
|
|
python /usr/lib/portail-citoyen/manage.py migrate_schemas --fake --noinput
|
|
|
|
else
|
|
|
|
python /usr/lib/portail-citoyen/manage.py syncdb --all --noinput
|
|
|
|
python /usr/lib/portail-citoyen/manage.py migrate --fake --noinput
|
|
|
|
fi
|
|
|
|
|
2014-04-01 15:59:05 +02:00
|
|
|
|