From b3d1a8d04c6009aaf24459c5026041f77defefd6 Mon Sep 17 00:00:00 2001 From: j <0x006A@0x2620.org> Date: Mon, 19 Jan 2015 11:56:59 +0100 Subject: [PATCH] first migrate item, annotations to avoid error during new installs --- README | 2 ++ vm/firstboot.sh | 2 ++ 2 files changed, 4 insertions(+) diff --git a/README b/README index dc9bae435..2cbeafde7 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 5f3572a5d..03676f622 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