1 <?xml version="1.0" encoding="utf-8"?>
3 xmlns="http://www.liquibase.org/xml/ns/dbchangelog"
4 xmlns:ext="http://www.liquibase.org/xml/ns/dbchangelog-ext"
5 xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
6 xsi:schemaLocation="http://www.liquibase.org/xml/ns/dbchangelog http://www.liquibase.org/xml/ns/dbchangelog/dbchangelog-3.5.xsd
7 http://www.liquibase.org/xml/ns/dbchangelog-ext http://www.liquibase.org/xml/ns/dbchangelog/dbchangelog-ext.xsd">
9 <property name="now" value="now()" dbms="h2"/>
11 <property name="now" value="current_timestamp" dbms="postgresql"/>
13 <property name="floatType" value="float4" dbms="postgresql, h2"/>
14 <property name="floatType" value="float" dbms="mysql, oracle, mssql"/>
17 Added the entity PolicyType.
19 <changeSet id="20180210112802-1" author="jhipster">
20 <createTable tableName="policy_type">
21 <column name="id" type="bigint" autoIncrement="${autoIncrement}">
22 <constraints primaryKey="true" nullable="false"/>
24 <column name="name" type="varchar(255)">
25 <constraints nullable="true" />
28 <column name="descr" type="varchar(255)">
29 <constraints nullable="true" />
32 <column name="category" type="varchar(255)">
33 <constraints nullable="true" />
36 <column name="opt" type="varchar(255)">
37 <constraints nullable="true" />
40 <column name="defval" type="varchar(1023)">
41 <constraints nullable="true" />
44 <column name="supported" type="varchar(1)">
45 <constraints nullable="true" />
48 <column name="mapping" type="varchar(255)">
49 <constraints nullable="true" />
52 <column name="uitype" type="varchar(255)">
53 <constraints nullable="true" />
56 <!-- jhipster-needle-liquibase-add-column - JHipster will add columns here, do not remove-->
59 <loadData encoding="UTF-8"
60 file="config/liquibase/changelog/policytype.csv"
62 tableName="policy_type">
66 <!-- jhipster-needle-liquibase-add-changeset - JHipster will add changesets here, do not remove-->