Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
a) AlterColumnSQL appears to pass the type instead of column name to the NULL/NOT NULL query b) If you are converting from a BOOL->INT in sql, whilst select (1::INT4)::BOOL is valid, you can not cast in the ALTER TABLE syntax without a USING clause. In addition, it appears one needs to drop then readd any default value. git-svn-id: http://mantisbt.svn.sourceforge.net/svnroot/mantisbt/trunk@4715 f5dc347c-c33d-0410-90a0-b07cc1902cb9
- Loading branch information
Showing
1 changed file
with
13 additions
and
3 deletions.
There are no files selected for viewing
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