Last active
July 31, 2019 03:13
-
-
Save CarolHsu/5e00d6604baee3c0d10279aad1c4f48e to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# delete column | |
ActiveRecord::Migration.remove_column :table_name, :column_name | |
# drop table | |
ActiveRecord::Migration.drop_table :table_name |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment