Merge remote-tracking branch 'origin/develop' into develop
This commit is contained in:
commit
04190bae27
1 changed files with 72 additions and 0 deletions
|
|
@ -255,4 +255,76 @@
|
|||
<dropColumn tableName="citizen" columnName="has_tractor_license"/>
|
||||
</rollback>
|
||||
</changeSet>
|
||||
|
||||
<changeSet id="0015" author="AlexSave">
|
||||
<preConditions onFail="MARK_RAN">
|
||||
<not>
|
||||
<columnExists tableName="citizen" columnName="has_criminal_prosecution"/>
|
||||
</not>
|
||||
</preConditions>
|
||||
|
||||
<addColumn tableName="citizen">
|
||||
<column name="has_criminal_prosecution" type="boolean" defaultValueBoolean="false" remarks="Признак наличия уголовного преследования">
|
||||
<constraints nullable="false"/>
|
||||
</column>
|
||||
</addColumn>
|
||||
|
||||
<rollback>
|
||||
<dropColumn tableName="citizen" columnName="has_criminal_prosecution"/>
|
||||
</rollback>
|
||||
</changeSet>
|
||||
|
||||
<changeSet id="0016" author="AlexSave">
|
||||
<preConditions onFail="MARK_RAN">
|
||||
<not>
|
||||
<columnExists tableName="citizen" columnName="has_sentence"/>
|
||||
</not>
|
||||
</preConditions>
|
||||
|
||||
<addColumn tableName="citizen">
|
||||
<column name="has_sentence" type="boolean" defaultValueBoolean="false" remarks="Признак наличия вынесенного приговора">
|
||||
<constraints nullable="false"/>
|
||||
</column>
|
||||
</addColumn>
|
||||
|
||||
<rollback>
|
||||
<dropColumn tableName="citizen" columnName="has_sentence"/>
|
||||
</rollback>
|
||||
</changeSet>
|
||||
|
||||
<changeSet id="0017" author="AlexSave">
|
||||
<preConditions onFail="MARK_RAN">
|
||||
<not>
|
||||
<columnExists tableName="citizen" columnName="serving_sentence"/>
|
||||
</not>
|
||||
</preConditions>
|
||||
|
||||
<addColumn tableName="citizen">
|
||||
<column name="serving_sentence" type="boolean" defaultValueBoolean="false" remarks="Признак отбывания наказания">
|
||||
<constraints nullable="false"/>
|
||||
</column>
|
||||
</addColumn>
|
||||
|
||||
<rollback>
|
||||
<dropColumn tableName="citizen" columnName="serving_sentence"/>
|
||||
</rollback>
|
||||
</changeSet>
|
||||
|
||||
<changeSet id="0018" author="AlexSave">
|
||||
<preConditions onFail="MARK_RAN">
|
||||
<not>
|
||||
<columnExists tableName="citizen" columnName="has_criminal_record"/>
|
||||
</not>
|
||||
</preConditions>
|
||||
|
||||
<addColumn tableName="citizen">
|
||||
<column name="has_criminal_record" type="boolean" defaultValueBoolean="false" remarks="Признак наличия судимости">
|
||||
<constraints nullable="false"/>
|
||||
</column>
|
||||
</addColumn>
|
||||
|
||||
<rollback>
|
||||
<dropColumn tableName="citizen" columnName="has_criminal_record"/>
|
||||
</rollback>
|
||||
</changeSet>
|
||||
</databaseChangeLog>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue