We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
The following error occurs when trying to convert InnoDB tables with foreign keys.
Couldn't create indexes on #Mysql2psql::MysqlReader::Table:0x10118db28 ([{:primary=>true, :columns=>["id"]}, {:columns=>["rr"], :name=>"rr"}]) undefined method `parse_csv' for "rr":String /Library/Ruby/Gems/1.8/../mysql2psql/mysql_reader.rb:110:in "load_indexes" /Library/Ruby/Gems/1.8/../mysql2psql/mysql_reader.rb:105:in "each" /Library/Ruby/Gems/1.8/../mysql2psql/mysql_reader.rb:105:in "load_indexes"
The foreign key is defined as follows:
constraint "rr" foreign key ("rr") references "other" ("id") on delete cascade on update cascade
The text was updated successfully, but these errors were encountered:
It seems that the String::parse_csv method is introduced in Ruby 1.9.1
String::parse_csv
http://apidock.com/ruby/String/parse_csv
Sorry, something went wrong.
Closing as an old issue, that would seem to be out of date. Feel free to re-open and update with comments against the master branch.
master
No branches or pull requests
The following error occurs when trying to convert InnoDB tables with foreign keys.
Couldn't create indexes on #Mysql2psql::MysqlReader::Table:0x10118db28 ([{:primary=>true, :columns=>["id"]}, {:columns=>["rr"], :name=>"rr"}])
undefined method `parse_csv' for "rr":String
/Library/Ruby/Gems/1.8/../mysql2psql/mysql_reader.rb:110:in "load_indexes"
/Library/Ruby/Gems/1.8/../mysql2psql/mysql_reader.rb:105:in "each"
/Library/Ruby/Gems/1.8/../mysql2psql/mysql_reader.rb:105:in "load_indexes"
The foreign key is defined as follows:
constraint "rr" foreign key ("rr") references "other" ("id") on delete cascade on update cascade
The text was updated successfully, but these errors were encountered: