From 8d99c88af55041ff06e6b9372b6b1f66220bed38 Mon Sep 17 00:00:00 2001
From: rsanchez <rsanchez@curisit.net>
Date: Mon, 10 Apr 2017 16:08:58 +0000
Subject: [PATCH] #3529 feature - Added applications to user profile and upgrade to angular4

---
 securis/src/main/webapp/sql_update.sql |   10 +++++++++-
 1 files changed, 9 insertions(+), 1 deletions(-)

diff --git a/securis/src/main/webapp/sql_update.sql b/securis/src/main/webapp/sql_update.sql
index 08c0847..cfed213 100644
--- a/securis/src/main/webapp/sql_update.sql
+++ b/securis/src/main/webapp/sql_update.sql
@@ -1,2 +1,10 @@
 alter table pack add column frozen BOOLEAN NOT NULL default false;
-alter table license add column metadata_obsolete BOOLEAN NOT NULL default false;
\ No newline at end of file
+alter table license add column metadata_obsolete BOOLEAN NOT NULL default false;
+
+drop table IF EXISTS user_application;
+CREATE  TABLE IF NOT EXISTS user_application (
+  username VARCHAR(45) NOT NULL,
+  application_id INT NOT NULL,  
+  PRIMARY KEY (username, application_id));
+  
+  
\ No newline at end of file

--
Gitblit v1.3.2