A new topic, 'Default valut with constraint name', has been made on a board you 
are watching.

You can see it at
http://liquibase.org/forum/index.php?topic=566.new#new

The text of the topic is shown below:

I want to convert the following except of a create table SQL script into 
Liquibase:

    SuccessInd           char(1)  NOT NULL
    CONSTRAINT DefALog_SuccessInd DEFAULT  'N'

I want something along the lines of

<column name="SuccesInd" type="char(1)">
     <constraints  nullable="false" />
     <constraints  uniqueConstraintName="DefALog_SuccessInd" defaultValue="N />
</column>

However, defaultValue must go into the column tag (and can you even have 
multiple constraints per column?). Is there any way to assign a constraint name 
to a default value?

Unsubscribe to new topics from this board by clicking here: 
http://liquibase.org/forum/index.php?action=notifyboard;board=1.0

Regards,
The LiquiBase Community Forum Team.
------------------------------------------------------------------------------
This SF.net email is sponsored by Sprint
What will you do first with EVO, the first 4G phone?
Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first
_______________________________________________
Liquibase-user mailing list
Liquibase-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/liquibase-user

Reply via email to