Added table definition for email_template
Added 1.5 changes file to changelog
This commit is contained in:
parent
df30a356f6
commit
f19ec23ebd
2 changed files with 29 additions and 0 deletions
28
libreplan-business/src/main/resources/db.changelog-1.5.xml
Normal file
28
libreplan-business/src/main/resources/db.changelog-1.5.xml
Normal file
|
|
@ -0,0 +1,28 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<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-2.0.xsd">
|
||||
|
||||
|
||||
<changeSet id="adding-email_template_table" author="vova/jeroen">
|
||||
<createTable tableName="email_template">
|
||||
<column name="id" type="int" autoIncrement="true">
|
||||
<constraints primaryKey="true" nullable="false" primaryKeyName="email_templates_pkey"/>
|
||||
</column>
|
||||
<column name="type" type="int"/>
|
||||
<column name="language" type="int"/>
|
||||
<column name="content" type="varchar(2048)"/>
|
||||
</createTable>
|
||||
<addUniqueConstraint
|
||||
constraintName="email_template_type_lang_key"
|
||||
columnNames="type,lang"
|
||||
deferrable="false"
|
||||
disabled="false"
|
||||
initiallyDeferred="false"
|
||||
tableName="criterion"
|
||||
/>
|
||||
</changeSet>
|
||||
|
||||
</databaseChangeLog>
|
||||
|
||||
|
|
@ -12,4 +12,5 @@
|
|||
<include file="src/main/resources/db.changelog-1.2.xml"/>
|
||||
<include file="src/main/resources/db.changelog-1.3.xml"/>
|
||||
<include file="src/main/resources/db.changelog-1.4.xml"/>
|
||||
<include file="src/main/resources/db.changelog-1.5.xml"/>
|
||||
</databaseChangeLog>
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue