I'm seeing this error when trying to run the migrate_sql rake task on migration files that include either remove_column or add_foreign_key:
ActiveRecord::StatementInvalid: SQLite3::SQLException: no such table: a<table_name>
Where <table_name> is the name of the table that is being changed. Adding these methods to methods_to_modify and redefine_metadata_methods fixes the issue but doesn't return any sql. Is it possible to get these migrations to work?