Check out example codes for "rails remove column from model". It will help you in understanding the concepts better.

Code Example 1

class RemoveCountryFromSampleApps < ActiveRecord::Migration[5.0]
  def change
    remove_column :sample_apps, :country, :string
  end
end

Learn ReactJs, React Native from akashmittal.com