Add remarks support to addColumn

Description

From http://liquibase.org/forum/index.php?topic=81.0

I'm using liquibase 1.9.3 against Oracle XE.

When I try to add a new column to an existing table, the remarks attribute value is not inserted as column comment. I'm using the following syntax:

<changeSet author="rbijkerk" id="1">
<addColumn tableName="some_table">
<column name="some_column" type="number(14,0)" remarks="Meaningful comment about this column"/>
</addColumn>
</changeSet>

Environment

None

Attachments

1

Activity

Show:

Valeriy Vyrva July 5, 2011 at 8:14 AM

Patch add SetColumnRemarksStatement in AddColumnChange if column has not null remark and Database supports SetColumnRemarksStatement.

JulienJ September 8, 2010 at 10:33 AM

Yep, sorry, I saw that it only works for Oracle. Anyway this issue is really a dup of CORE-6.

Pille Straightwell September 8, 2010 at 9:26 AM

@Julien HENRY
I tried it in v2.0RC5 for MSSQL. The remarks-text is not inserted as columncomment. Hopefully this will be implemented for MSSQL, too.

JulienJ September 6, 2010 at 4:03 PM

This functionality seems to be implemented in version 2.0-rc5. Maybe could you update this issue as duplicate of CORE-6.

Duplicate

Details

Reporter

Fix versions

Affects versions

Priority

Created July 20, 2009 at 5:06 PM
Updated June 20, 2013 at 3:30 AM
Resolved April 15, 2012 at 5:39 AM