#101 grant attach
parent
192adbfa0b
commit
9013d79228
@ -0,0 +1,17 @@
|
|||||||
|
<?xml version="1.1" encoding="UTF-8" standalone="no"?>
|
||||||
|
<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-3.1.xsd">
|
||||||
|
<changeSet author="anton" id="20190528_000000-3">
|
||||||
|
<createTable tableName="project_grants">
|
||||||
|
<column name="project_id" type="integer"/>
|
||||||
|
<column name="grants_id" type="integer"/>
|
||||||
|
</createTable>
|
||||||
|
<addForeignKeyConstraint baseTableName="project_grants" baseColumnNames="project_id"
|
||||||
|
constraintName="fk_project_project_grants" referencedTableName="project"
|
||||||
|
referencedColumnNames="id"/>
|
||||||
|
<addForeignKeyConstraint baseTableName="project_grants" baseColumnNames="grants_id"
|
||||||
|
constraintName="fk_grant_project_grants" referencedTableName="grants"
|
||||||
|
referencedColumnNames="id"/>
|
||||||
|
</changeSet>
|
||||||
|
</databaseChangeLog>
|
Loading…
Reference in New Issue