Farmbot-Web-App/db/migrate/20180508141310_remove_archi...

8 lines
232 B
Ruby

class RemoveArchivedAtColFromPoints < ActiveRecord::Migration[5.1]
def change
# We use `discarded_at` now, because that what the "discard" gem wants.
remove_column :points, :archived_at, :datetime, default: nil
end
end