ERVU-432 : add has_tractor_license field to citizen
This commit is contained in:
parent
f6d0b0e087
commit
c9716f4189
1 changed files with 18 additions and 0 deletions
|
|
@ -237,4 +237,22 @@
|
|||
<dropColumn tableName="citizen" columnName="is_deputy_candidate"/>
|
||||
</rollback>
|
||||
</changeSet>
|
||||
|
||||
<changeSet id="0014" author="AlexSave">
|
||||
<preConditions onFail="MARK_RAN">
|
||||
<not>
|
||||
<columnExists tableName="citizen" columnName="has_tractor_license"/>
|
||||
</not>
|
||||
</preConditions>
|
||||
|
||||
<addColumn tableName="citizen">
|
||||
<column name="has_tractor_license" type="boolean" defaultValueBoolean="false" remarks="Признак наличия удостоверения водителя трактора">
|
||||
<constraints nullable="false"/>
|
||||
</column>
|
||||
</addColumn>
|
||||
|
||||
<rollback>
|
||||
<dropColumn tableName="citizen" columnName="has_tractor_license"/>
|
||||
</rollback>
|
||||
</changeSet>
|
||||
</databaseChangeLog>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue