Skip to content

Instantly share code, notes, and snippets.

@olivermt
Created April 14, 2011 08:04
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save olivermt/919100 to your computer and use it in GitHub Desktop.
Save olivermt/919100 to your computer and use it in GitHub Desktop.
changeSet(author: "oliver (generated)", id: "1302702919266-23") {
dropForeignKeyConstraint(constraintName: "FK375DF2F9A2DB3C5A", baseTableName: "sec_user")
dropIndex(indexName: "FK375DF2F9A2DB3C5A", tableName: "sec_user")
renameColumn(oldColumnName: "rank_info_id", newColumnName: "rank_infoeu_id", columnDataType: "bigint NULL", tableName: "sec_user")
createIndex(indexName: "FK375DF2F9A2DB3C5A", tableName: "sec_user") {
column(name: "rank_infoeu_id")
}
addForeignKeyConstraint(baseColumnNames: "rank_infoeu_id", baseTableName: "sec_user", constraintName: "FK375DF2F9A2DB3C5A", deferrable: "false", initiallyDeferred: "false", referencedColumnNames: "id", referencedTableName: "rank_info", referencesUniqueColumn: "false")
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment