#foreach ($col in $table.Columns) #set ( $type = $dbprops.get($col.Type) ) #set ( $size = $col.printSize() ) #if ( $dbprops.get("supressDefaults") == "true" ) #set ( $default = "" ) #else #set ( $default = $col.DefaultSetting ) #end #if ( ($dbprops.get("removeNotNullWithAutoIncrement") == "true") && $col.isAutoIncrement() && $col.isNotNull() ) #set ( $nullString = "" ) #else #set ( $nullString = $strings.select($col.isNotNull(), $dbprops.get("NOTNULL"),"NULL") ) #end #set ( $autoIncrement = $strings.select($col.isAutoIncrement(), $dbprops.get("AUTOINCREMENT"),"") ) #set ( $entry = "$col.Name $type $size $default $nullString $autoIncrement," ) $strings.sub($strings.collapseSpaces($entry)," ,",",") #end