# Upgrade path from 2.0.x -\> 3.0.x

**URL:** <https://forum.liquibase.org/t/upgrade-path-from-2-0-x-3-0-x/2663>\
**Category:** Liquibase Development\
**Created:** [July 11, 2013, 10:01am UTC](https://forum.liquibase.org/t/upgrade-path-from-2-0-x-3-0-x/2663 "2013-07-11T10:01:00Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![un1373511350393r87id](https://avatars.discourse-cdn.com/v4/letter/u/e495f1/32.png) [@un1373511350393r87id](https://forum.liquibase.org/u/un1373511350393r87id)\
**Post date:** [July 11, 2013, 10:01am UTC](https://forum.liquibase.org/t/upgrade-path-from-2-0-x-3-0-x/2663/1 "2013-07-11T10:01:00Z")

</div>

I’ve noticed that&nbsp;

Attribute :&nbsp; **referencesUniqueColumn** &nbsp;in attribute group **addForeignKeyConstraintAttrib** &nbsp;has gone in 3.0.x and also the XSD in 3.0.x in following link

**[http://www.liquibase.org/xml/ns/dbchangelog/dbchangelog-3.0.xsd](http://www.liquibase.org/xml/ns/dbchangelog/dbchangelog-3.0.xsd)**&nbsp;still has this attribute.

I’ve seen in the documentation that upgrade from 2.0.x and 3.0.x is like a drop in replacement which is NOT TRUE.

I’ve experienced following configuration breaks when I upgrade to 3.0.x

&nbsp; &nbsp; &nbsp; &nbsp; \<addForeignKeyConstraint baseColumnNames=“othertable1\_id” baseTableName=“maintable”

&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;constraintName=“fk1” deferrable=“false” initiallyDeferred=“false”

&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;onDelete=“NO ACTION” onUpdate=“NO ACTION” referencedColumnNames=“id”

&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;referencedTableName=“othertable1” referencesUniqueColumn=“false” /\>

&nbsp; &nbsp;

I think we should improve the documentation and/or re-check if there is anything we should concern when upgrade from 2.0.x to 3.0.x.

---

<div class="post-metadata">

**Author:** ![nvoxland](https://avatars.discourse-cdn.com/v4/letter/n/87869e/32.png) [@nvoxland](https://forum.liquibase.org/u/nvoxland)\
**Post date:** [July 11, 2013, 10:01am UTC](https://forum.liquibase.org/t/upgrade-path-from-2-0-x-3-0-x/2663/2 "2013-07-11T10:01:00Z")

</div>

It wasn’t really being used in 2.0 so it was taken out of 3.0, but I put it back into 3.0.2 to better support backwards compatibility. It is a no-op as it more or less was in 2.0, I’ll work on updating the docs.

Nathan

---

<div class="post-metadata">

**Author:** ![Guest](https://avatars.discourse-cdn.com/v4/letter/g/8dc957/32.png) [@Guest](https://forum.liquibase.org/u/Guest)\
**Post date:** [July 11, 2013, 10:01am UTC](https://forum.liquibase.org/t/upgrade-path-from-2-0-x-3-0-x/2663/3 "2013-07-11T10:01:00Z")

</div>

I think that was the essence of issue [https://liquibase.jira.com/browse/CORE-1344.&nbsp;](https://liquibase.jira.com/browse/CORE-1344.%C2%A0) If you agree you might want to mark it as implemented.

---

<div class="post-metadata">

**Author:** ![Guest](https://avatars.discourse-cdn.com/v4/letter/g/8dc957/32.png) [@Guest](https://forum.liquibase.org/u/Guest)\
**Post date:** [July 11, 2013, 10:01am UTC](https://forum.liquibase.org/t/upgrade-path-from-2-0-x-3-0-x/2663/4 "2013-07-11T10:01:00Z")

</div>

Just tried it and it handled my pillow test much better than 3.0.1.

---

<div class="post-metadata">

**Author:** ![un1373511350393r87id](https://avatars.discourse-cdn.com/v4/letter/u/e495f1/32.png) [@un1373511350393r87id](https://forum.liquibase.org/u/un1373511350393r87id)\
**Post date:** [July 11, 2013, 10:01am UTC](https://forum.liquibase.org/t/upgrade-path-from-2-0-x-3-0-x/2663/5 "2013-07-11T10:01:00Z")

</div>

Great !! thank you, and I’m looking forward for 3.0.2 release. 😉

---

<div class="post-metadata">

**Author:** ![nvoxland](https://avatars.discourse-cdn.com/v4/letter/n/87869e/32.png) [@nvoxland](https://forum.liquibase.org/u/nvoxland)\
**Post date:** [July 11, 2013, 10:01am UTC](https://forum.liquibase.org/t/upgrade-path-from-2-0-x-3-0-x/2663/6 "2013-07-11T10:01:00Z")

</div>

Yes, 1344 should have been in there. I marked it as closed in 3.0.2.

BTW, 3.0.2 is out now just haven’t gotten to the official announcement yet.

Nathan
