diff --git a/README b/README index dc9bae43..2cbeafde 100644 --- a/README +++ b/README @@ -95,6 +95,8 @@ Important: "use_your_own" is a password and you have to use the same value here su pandora cd /srv/pandora/pandora ./manage.py syncdb --noinput + ./manage.py migrate item + ./manage.py migrate annotation ./manage.py migrate ./manage.py sqlfindindex ./manage.py sync_itemsort diff --git a/vm/firstboot.sh b/vm/firstboot.sh index 5f3572a5..03676f62 100755 --- a/vm/firstboot.sh +++ b/vm/firstboot.sh @@ -116,6 +116,8 @@ MANAGE="sudo -H -u pandora python manage.py" cd /srv/pandora/pandora $MANAGE syncdb --noinput +$MANAGE migrate item +$MANAGE migrate annotation $MANAGE migrate echo "DB_GIN_TRGM = True" >> /srv/pandora/pandora/local_settings.py $MANAGE sqlfindindex