Created
June 22, 2012 15:53
-
-
Save mlist/2973647 to your computer and use it in GitHub Desktop.
changeSet for adding a not null constraint with a default value for existing nulls
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
changeSet(author: "mlist (generated)", id: "1340373645634-47") { | |
addNotNullConstraint(columnDataType: "bigint", columnName: "createdBy", schemaName: "dbo", tableName: "slide_layout", defaultNullValue: 1) | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment