Revision: 11996 http://wonder.svn.sourceforge.net/wonder/?rev=11996&view=rev Author: nullterminated Date: 2011-02-27 04:55:54 +0000 (Sun, 27 Feb 2011) Log Message: ----------- Added time migration. Modified Paths: -------------- branches/Wonder_5_0_0_WebObjects_5_4_Branch/Wonder/Frameworks/Core/ERExtensions/Sources/er/extensions/migration/ERXMigrationTable.java Modified: branches/Wonder_5_0_0_WebObjects_5_4_Branch/Wonder/Frameworks/Core/ERExtensions/Sources/er/extensions/migration/ERXMigrationTable.java =================================================================== --- branches/Wonder_5_0_0_WebObjects_5_4_Branch/Wonder/Frameworks/Core/ERExtensions/Sources/er/extensions/migration/ERXMigrationTable.java 2011-02-27 04:55:22 UTC (rev 11995) +++ branches/Wonder_5_0_0_WebObjects_5_4_Branch/Wonder/Frameworks/Core/ERExtensions/Sources/er/extensions/migration/ERXMigrationTable.java 2011-02-27 04:55:54 UTC (rev 11996) @@ -803,6 +803,18 @@ } /** + * Returns a new time column. See newColumn(..) for the full docs. + * + * @param name the name of the column + * @param allowsNull if true, the column will allow null values + * @return the new ERXMigrationColumn + * @throws SQLException if the column cannot be created + */ + public ERXMigrationColumn newTimeColumn(String name, boolean allowsNull) throws SQLException { + return newColumn(name, Types.TIME, 0, 0, 0, allowsNull, ERXMigrationColumn.NULL_VALUE_TYPE); + } + + /** * Returns a new ipaddress column. See newColumn(..) for the full docs. * * @param name the name of the column This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |