First day end commit
This commit is contained in:
parent
90b3c97af3
commit
649c7d3aba
@ -0,0 +1,28 @@
|
||||
<databaseChangeLog xmlns="http://www.liquibase.org/xml/ns/dbchangelog"
|
||||
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
||||
xmlns:ext="http://www.liquibase.org/xml/ns/dbchangelog-ext"
|
||||
xsi:schemaLocation="http://www.liquibase.org/xml/ns/dbchangelog http://www.liquibase.org/xml/ns/dbchangelog/dbchangelog-3.0.xsd
|
||||
http://www.liquibase.org/xml/ns/dbchangelog-ext http://www.liquibase.org/xml/ns/dbchangelog/dbchangelog-ext.xsd">
|
||||
|
||||
<changeSet id="2025-02-18--0005-enter" author="nzhavoronkov">
|
||||
<preConditions onFail="MARK_RAN">
|
||||
<not>
|
||||
<tableExists tableName="enter"/>
|
||||
</not>
|
||||
</preConditions>
|
||||
|
||||
<createTable tableName="enter">
|
||||
<column name="id" type="BIGINT" autoIncrement="true">
|
||||
<constraints primaryKey="true" nullable="false"/>
|
||||
</column>
|
||||
<column name="employee_id" type="BIGINT">
|
||||
<constraints nullable="false" foreignKeyName="fk_employee_enter" referencedTableName="employee"
|
||||
referencedColumnNames="id"/>
|
||||
</column>
|
||||
<column name="code_id" type="BIGINT">
|
||||
<constraints nullable="false" foreignKeyName="fk_code_enter" referencedTableName="code"
|
||||
referencedColumnNames="id"/>
|
||||
</column>
|
||||
</createTable>
|
||||
</changeSet>
|
||||
</databaseChangeLog>
|
Loading…
x
Reference in New Issue
Block a user