From 54199e01e1a94f1a9497f49575a9ac2620878654 Mon Sep 17 00:00:00 2001
From: Daniele Cinti <daniele.cinti@xcally.com>
Date: Tue, 15 Mar 2016 19:21:27 +0100
Subject: [PATCH] Built motion from commit b7b498e.|0.0.66

---
 release-notes/changelog_0.0.66.txt |    1 +
 scripts/post-merge.sh              |    2 +-
 2 files changed, 2 insertions(+), 1 deletions(-)

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"
-- 
1.7.1