Adding first changelog with database creation to avoid problems with empty databases.
* Disabled Hibernate schema generation (hbm2dll). Now it just validates the schema. FEA: ItEr65S05DatabaseUpgradeItEr64S07
This commit is contained in:
parent
00fcf6f173
commit
fe9ed34c6c
4 changed files with 2171 additions and 3 deletions
2167
navalplanner-business/src/main/resources/db.changelog-database.xml
Normal file
2167
navalplanner-business/src/main/resources/db.changelog-database.xml
Normal file
File diff suppressed because it is too large
Load diff
|
|
@ -5,6 +5,7 @@
|
|||
xsi:schemaLocation="http://www.liquibase.org/xml/ns/dbchangelog
|
||||
http://www.liquibase.org/xml/ns/dbchangelog/dbchangelog-2.0.xsd">
|
||||
|
||||
<include file="src/main/resources/db.changelog-database.xml"/>
|
||||
<include file="src/main/resources/db.changelog-initial.xml"/>
|
||||
|
||||
</databaseChangeLog>
|
||||
|
|
|
|||
|
|
@ -105,7 +105,7 @@
|
|||
|
||||
<property name="code" access="property" not-null="true" unique="true"/>
|
||||
|
||||
<map name="effortPerDay">
|
||||
<map name="effortPerDay" table="effort_per_day">
|
||||
<key column="base_calendar_id"/>
|
||||
<index column="day_id" type="integer" />
|
||||
<element column="effort"
|
||||
|
|
|
|||
4
pom.xml
4
pom.xml
|
|
@ -80,7 +80,7 @@
|
|||
<hibernate.show_sql>false</hibernate.show_sql>
|
||||
<hibernate.format_sql>true</hibernate.format_sql>
|
||||
<hibernate.use_sql_comments>true</hibernate.use_sql_comments>
|
||||
<hibernate.hbm2ddl.auto>update</hibernate.hbm2ddl.auto>
|
||||
<hibernate.hbm2ddl.auto>validate</hibernate.hbm2ddl.auto>
|
||||
</properties>
|
||||
</profile>
|
||||
|
||||
|
|
@ -94,7 +94,7 @@
|
|||
<hibernate.show_sql>false</hibernate.show_sql>
|
||||
<hibernate.format_sql>false</hibernate.format_sql>
|
||||
<hibernate.use_sql_comments>false</hibernate.use_sql_comments>
|
||||
<hibernate.hbm2ddl.auto>update</hibernate.hbm2ddl.auto>
|
||||
<hibernate.hbm2ddl.auto>validate</hibernate.hbm2ddl.auto>
|
||||
</properties>
|
||||
</profile>
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue