|
From: Michael K. <ko...@us...> - 2005-12-20 18:10:32
|
Update of /cvsroot/cobricks/cobricks2/src/org/cobricks/core/db In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv23729/cobricks/core/db Modified Files: DBAccessImpl.java Log Message: Index: DBAccessImpl.java =================================================================== RCS file: /cvsroot/cobricks/cobricks2/src/org/cobricks/core/db/DBAccessImpl.java,v retrieving revision 1.23 retrieving revision 1.24 diff -u -d -r1.23 -r1.24 --- DBAccessImpl.java 13 Dec 2005 17:07:39 -0000 1.23 +++ DBAccessImpl.java 20 Dec 2005 18:10:24 -0000 1.24 @@ -1294,6 +1294,11 @@ // check which version of the table is in the database // if it is not the newest, then update + // MYSQL: + // ALTER TABLE xxx CHANGE `x` y ytype + // Postgres: + // ALTER TABLE xxx RENAME COLUMN x TO y + return true; } |