Commit 42764813 authored by Matija Obreza's avatar Matija Obreza

Update acl_sid table with user#email

- Compatibility with app-blocks:1.3-SNAPSHOT
- swagger downgraded to 2.6.1 due to https://github.com/springfox/springfox/issues/2039
parent dccd4aef
...@@ -96,7 +96,8 @@ ...@@ -96,7 +96,8 @@
<jackson.version>2.6.4</jackson.version> <jackson.version>2.6.4</jackson.version>
<jaxb-api.version>2.2.12</jaxb-api.version> <jaxb-api.version>2.2.12</jaxb-api.version>
<liquibase.version>3.5.3</liquibase.version> <liquibase.version>3.5.3</liquibase.version>
<swagger.version>2.7.0</swagger.version> <!-- TODO Upgrade past 2.7.0 which is buggy -->
<swagger.version>2.6.1</swagger.version>
<!--Container --> <!--Container -->
<jetty.version>9.4.5.v20170502</jetty.version> <jetty.version>9.4.5.v20170502</jetty.version>
......
...@@ -1135,3 +1135,15 @@ databaseChangeLog: ...@@ -1135,3 +1135,15 @@ databaseChangeLog:
onUpdate: NO ACTION onUpdate: NO ACTION
referencedColumnNames: id referencedColumnNames: id
referencedTableName: acl_sid referencedTableName: acl_sid
# Use user#email as acl_sid#sid
- changeSet:
id: 1513620354000-1
author: matijaobreza
comment: Use user#email as acl_sid#sid
changes:
- sql:
comment: Inner join acl_sid with user on id and update acl_sid#sid with user#email
sql: >-
update acl_sid inner join user on user.id=acl_sid.id
set acl_sid.sid = user.email;
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment