rails generate migration drop_tablename code example Example: ruby on rails db migrate rails db:migrate