You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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?
The text was updated successfully, but these errors were encountered:
I'm seeing this error when trying to run the
migrate_sql
rake task on migration files that include eitherremove_column
oradd_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 tomethods_to_modify
andredefine_metadata_methods
fixes the issue but doesn't return any sql. Is it possible to get these migrations to work?The text was updated successfully, but these errors were encountered: