Permalink
Browse files

Added hack to add missing comma after text field type.

  • Loading branch information...
1 parent 0f8e56b commit 7922b40f6405446d71d9560bfd83a17310d0e664 Chris Cummer committed Jul 7, 2010
Showing with 2 additions and 0 deletions.
  1. +2 −0 mysql2sqlite.rb
View
@@ -142,6 +142,8 @@ def translate_sql_differences( line )
line.gsub!( /ON UPDATE [^,]*/, '' )
line.gsub!( /COLLATE [^\s]+/, '')
+ line.gsub!( /" text/, '" text,' )
+
return line
end

0 comments on commit 7922b40

Please sign in to comment.