class DropUsers < ActiveRecord::Migration
def change
drop_table :users do |t|
t.string :email, null: false
t.timestamps null: false
end
end
end
Created
July 5, 2018 05:16
-
-
Save deepakmahakale/1eb2e0ce677bd22e6f2db19a8c91b774 to your computer and use it in GitHub Desktop.
Reversible migration for dropping a table
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment