Details
Reporter
Damodar MahadevanDamodar MahadevanComponents
Affects versions
Priority
Blocker
Details
Details
Reporter
Damodar Mahadevan
Damodar MahadevanComponents
Affects versions
Priority
Created January 27, 2020 at 1:49 PM
Updated January 27, 2020 at 1:50 PM
We are trying to create an integer column in an existing table, but unable to do so. Please review the below snippet and let us know if things are ok.
*Liquibase:
*
<changeSet author="I339192"
id="modify_collaboration_participant_IS_SUPPLIER_field1">
<preConditions onFail="CONTINUE">
<tableExists tableName="CPDC_COLLABORATION_PARTICIPANT" />
</preConditions>
<addColumn tableName="CPDC_COLLABORATION_PARTICIPANT">
<column name="IS_SUPPLIER" type="INTEGER" defaultValue="0">
<constraints nullable="true"/>
</column>
</addColumn>
</changeSet>
EclipseLink JPA Entity
@Column(name = "IS_SUPPLIER")
private int isSupplier;