lib/ar2gostruct.rb in ar2gostruct-0.0.3 vs lib/ar2gostruct.rb in ar2gostruct-0.0.4

- old
+ new

@@ -68,10 +68,10 @@ type = "u#{col_type}" if col.sql_type.match("unsigned").present? else type = TYPE_MAP[col_type] || "string" end - info << sprintf("\t%-#{max_size}.#{max_size}s%-15.15s'%s'\n", col.name.camelize, type, tags.join(" ")) + info << sprintf("\t%-#{max_size}.#{max_size}s%-15.15s`%s`\n", col.name.camelize, type, tags.join(" ")) end info << "}\n\n" end