From 4890a86af37ef97db786de3984fb3f479d70826a Mon Sep 17 00:00:00 2001
From: Mirco Nasuti <mirco.nasuti@chuv.ch>
Date: Mon, 14 Nov 2016 13:33:40 +0100
Subject: [PATCH] DB migration : use only local paths to apps

---
 src/main/resources/db/migration/V4_2__OnlyLocalAppsPaths.sql | 5 +++++
 1 file changed, 5 insertions(+)
 create mode 100644 src/main/resources/db/migration/V4_2__OnlyLocalAppsPaths.sql

diff --git a/src/main/resources/db/migration/V4_2__OnlyLocalAppsPaths.sql b/src/main/resources/db/migration/V4_2__OnlyLocalAppsPaths.sql
new file mode 100644
index 000000000..c54e68668
--- /dev/null
+++ b/src/main/resources/db/migration/V4_2__OnlyLocalAppsPaths.sql
@@ -0,0 +1,5 @@
+UPDATE app SET link='/GenExpression/index.html' WHERE id=1;
+UPDATE app SET link='/Bargraph/index.html' WHERE id=4;
+UPDATE app SET link='/Sunburst/index.html' WHERE id=5;
+UPDATE app SET link='/3d-brain/index.html' WHERE id=6;
+UPDATE app SET link='/2d-bio-rules/app/index.html' WHERE id=8;
\ No newline at end of file
-- 
GitLab