Check out example codes for "how to remove columns from rails". It will help you in understanding the concepts better.

Code Example 1

rails generate migration RemoveFieldNameFromTableName field_name:datatype

remove_column :table_name, :column_name

Learn ReactJs, React Native from akashmittal.com