Issue 485: Database get corrupted when column is renamed for which check constraint was defined inside create table statement.