
liquibase.harness.change.changelogs.postgresql.addNonClusteredPrimaryKey.xml Maven / Gradle / Ivy
The newest version!
<databaseChangeLog xmlns="http://www.liquibase.org/xml/ns/dbchangelog" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.liquibase.org/xml/ns/dbchangelog http://www.liquibase.org/xml/ns/dbchangelog/dbchangelog-latest.xsd"> <changeSet author="erz" id="1::createTableForNonClusteredPK"> <createTable tableName="tbl_noncluster"> <column name="id" type="numeric(4)"> <constraints nullable="false"/> </column> </createTable> </changeSet> <changeSet author="erz" id="2::nonClusteredPK"> <addPrimaryKey clustered="false" columnNames="id" constraintName="pk_nonclustered" tableName="tbl_noncluster"/> </changeSet> </databaseChangeLog>
© 2015 - 2025 Weber Informatics LLC | Privacy Policy