Subject: Built motion from commit b7b498e.|0.0.66
From: Daniele Cinti <[email-masked]>
Date: Tue, 15 Mar 2016 18:21:27 +0000 (+0100)

Built motion from commit b7b498e.|0.0.66
---

diff --git a/release-notes/changelog_0.0.66.txt b/release-notes/changelog_0.0.66.txt
index 85742e3..9bb1900 100644
--- a/release-notes/changelog_0.0.66.txt
+++ b/release-notes/changelog_0.0.66.txt
@@ -1,5 +1,6 @@
 # xCALLY MOTION Changelog
 
+- * b7b498e - 2016-03-15: post-mege.sh 
 - * e83121e - 2016-03-15: test commit 1 
 - * 0035cf9 - 2016-03-15: add scripts in gruntfile 
 - * 190d31b - 2016-03-15: Changed history move service and added missing history tables. 
diff --git a/scripts/post-merge.sh b/scripts/post-merge.sh
index 92f1f1d..11ea78e 100644
--- a/scripts/post-merge.sh
+++ b/scripts/post-merge.sh
@@ -3,6 +3,6 @@
 echo "post-merge started"
 cd /var/opt/motion
 npm install --production
-sequelize db:migrate --migrations-path server/migrations --config server/config/environment/dbconf.json
+sequelize db:migrate --migrations-path server/migrations --config server/config/environment/dbconf.json --env production
 pm2 restart motion
 echo "post-merge finished"