rails generate migration DropTablename
A file will be created, in the db > migrate folder, make sure it looks like:
class DropUsers < ActiveRecord::Migration
def change
drop_table :users
end
end
rails d model user
rails d controller users
be rake db:migrate
Thanks, It was helpful.