Beans/frank.
git-svn-id: https://samskivert.googlecode.com/svn/trunk@2489 6335cc39-0255-0410-8fd6-9bcaacd3b74c
This commit is contained in:
@@ -108,7 +108,7 @@ public class PostgreSQLLiaison extends BaseLiaison
|
|||||||
if (nullable != null) {
|
if (nullable != null) {
|
||||||
executeQuery(
|
executeQuery(
|
||||||
conn, "ALTER TABLE " + tableSQL(table) + " ALTER COLUMN " + columnSQL(column) +
|
conn, "ALTER TABLE " + tableSQL(table) + " ALTER COLUMN " + columnSQL(column) +
|
||||||
" " + (nullable ? "SET NOT NULL" : "DROP NOT NULL"));
|
" " + (nullable ? "DROP NOT NULL" : "SET NOT NULL"));
|
||||||
if (lbuf.length() > 0) {
|
if (lbuf.length() > 0) {
|
||||||
lbuf.append(", ");
|
lbuf.append(", ");
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user