Tying to fix grant

This commit is contained in:
Marcin Grzejszczak
2018-06-04 09:01:27 +02:00
parent 7c444ee1d2
commit e877095af3
2 changed files with 4 additions and 5 deletions

View File

@@ -5,8 +5,7 @@
<changeSet author="jakubpilimon" id="1.init">
<createSequence sequenceName="hibernate_sequence" startValue="1" incrementBy="1" cacheSize="1"/>
</changeSet>
<changeSet author="jakubpilimon" id="2.postgres.json" dbms="postgresql">
<sql>GRANT character varying TO PUBLIC</sql>
<sql>CREATE CAST (character varying AS jsonb) WITH INOUT AS ASSIGNMENT</sql>
</changeSet>
<!--<changeSet author="jakubpilimon" id="2.postgres.json" dbms="postgresql">-->
<!--<sql>CREATE CAST (VARCHAR AS jsonb) WITH INOUT AS ASSIGNMENT</sql>-->
<!--</changeSet>-->
</databaseChangeLog>

View File

@@ -5,7 +5,7 @@
xsi:schemaLocation="http://www.liquibase.org/xml/ns/dbchangelog http://www.liquibase.org/xml/ns/dbchangelog/dbchangelog-3.4.xsd">
<property name="json" value="clob" dbms="h2"/>
<property name="json" value="jsonb" dbms="postgresql"/>
<property name="json" value="text" dbms="postgresql"/>
<changeSet author="jakubpilimon" id="1.shortages_prediction-init">
<sql>