Ruby on Rails - playing with tables using rails console in ruby on rails- ruby on rails tutorial - rails guides - rails tutorial - ruby rails
Playing with tables using rails console
View tables
Delete any table.
Remove index from existing column
where country is a column name in the migration file with already added index in users table as shown below:-
Remove foreign key constraint
where menus has_many food_items and their respective migrations too.