Deleting table from schema - Rails
If you create an empty migration by running: rails g migration DropInstalls
or:rails generate migration DropInstalls
You can then add this into that empty migration:
class DropInstalls < ActiveRecord::Migration def change drop_table :installs endend
Then run rake db:migrate
in the command line which should remove the Installs table
Note: db/schema.rb
is an autogenerated file. To alter the db structure, you should use the migrations instead of attempting to edit the schema file.