same database everywhere
This commit is contained in:
parent
d7a4a4f63d
commit
2304ce3f23
@ -752,4 +752,33 @@
|
||||
</createTable>
|
||||
</changeSet>
|
||||
|
||||
<changeSet author="phormanns" id="ph-20170412-01">
|
||||
<createTable tableName="pac_administration">
|
||||
<column autoIncrement="true" name="pac_administration_id" type="SERIAL">
|
||||
<constraints primaryKey="true" primaryKeyName="pk_pac_administration"/>
|
||||
</column>
|
||||
<column name="contact_id" type="INT">
|
||||
<constraints
|
||||
foreignKeyName="pac_administration_contact_ref"
|
||||
referencedTableName="contact"
|
||||
referencedColumnNames="contact_id"
|
||||
nullable="false"/>
|
||||
</column>
|
||||
<column name="pac_id" type="INT">
|
||||
<constraints
|
||||
foreignKeyName="pac_administration_pac_ref"
|
||||
referencedTableName="packet"
|
||||
referencedColumnNames="packet_id"
|
||||
nullable="false"/>
|
||||
</column>
|
||||
</createTable>
|
||||
<addColumn tableName="contact">
|
||||
<column name="login" type="VARCHAR(40)"/>
|
||||
</addColumn>
|
||||
<addUniqueConstraint
|
||||
columnNames="login"
|
||||
constraintName="unique_contact_login"
|
||||
tableName="contact"/>
|
||||
</changeSet>
|
||||
|
||||
</databaseChangeLog>
|
||||
|
@ -1,6 +1,6 @@
|
||||
changeLogFile=target/classes/liquibase/db.changelog.xml
|
||||
driver=org.postgresql.Driver
|
||||
url=jdbc:postgresql://localhost:5432/hsadmin_migdb
|
||||
url=jdbc:postgresql://localhost:5432/hsadmin_db
|
||||
username=hsadmin_dbuser
|
||||
password=SelfDefinedPassword
|
||||
verbose=true
|
||||
|
@ -2,7 +2,7 @@
|
||||
<tomee>
|
||||
<Resource id="hsar-ds" type="javax.sql.DataSource">
|
||||
JdbcDriver = org.postgresql.Driver
|
||||
JdbcUrl = jdbc:postgresql://localhost:5432/hsadmin_migdb
|
||||
JdbcUrl = jdbc:postgresql://localhost:5432/hsadmin_db
|
||||
UserName = hsadmin_dbuser
|
||||
Password = SelfDefinedPassword
|
||||
</Resource>
|
||||
|
Loading…
Reference in New Issue
Block a user