Rails + sqlite - unable to delete columns from database due to foreign key problem

I am currently unable to drop a column from a specific table in my database. the sqlite3 error message gives me:

FOREIGN KEY constraint not met: DROP TABLE 'table_name'

I am not trying to drop a table, but my migration is

remove_column :table_name, :column_name

      

This is just a string data column, nothing special about it

+3


source to share





All Articles