ERVU-432 : add has_tractor_license field to citizen

This commit is contained in:
AlexSave 2025-04-23 19:13:24 +03:00
parent f6d0b0e087
commit c9716f4189

View file

@ -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>