Commit 8fa1ff2f authored by Enriko Käsper's avatar Enriko Käsper

TEIS-992: grant db user privileges in schema with Liquibase.

parent 0c146ab2
theGroup=ee.sm.ti.teis
theVersion=0.2.0
commonsVersion=0.23.1
officeApiGatewayVersion=0.9.0
theVersion=0.2.1
commonsVersion=0.23.3
officeApiGatewayVersion=0.9.2
pluginVersion=0.0.18-SNAPSHOT
mapstructVersion=1.3.0.Final
querydslVersion=4.1.3
--liquibase formatted sql
--changeset raigo:integtest_setup
CREATE USER teis;
CREATE SCHEMA cache;
CREATE SCHEMA camunda;
......@@ -33,7 +33,7 @@ spring:
password: ${DB_OWNER_PASSWORD}
contexts: ${ENV_GLOBAL_PROFILES:local}
parameters:
db_app_username: ${DB_APP_USERNAME:teisdb_user}
db_app_username: ${DB_APP_USERNAME:teis}
jpa:
database-platform: org.hibernate.dialect.PostgreSQL82Dialect
properties:
......
......@@ -2,6 +2,7 @@
<databaseChangeLog xmlns="http://www.liquibase.org/xml/ns/dbchangelog" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://www.liquibase.org/xml/ns/dbchangelog http://www.liquibase.org/xml/ns/dbchangelog/dbchangelog-3.1.xsd">
<include file="classpath:common/db/changelog/common-master.xml"/>
<includeAll path="domain" relativeToChangelogFile="true" />
<include file="classpath:db/changelog/cache-master.xml" />
<include file="classpath:common/db/changelog/camunda-7-10.xml" />
......
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