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

8 lines
232 B
Ruby
Raw Permalink Normal View History

2018-05-08 08:26:34 -06:00
class RemoveArchivedAtColFromPoints < ActiveRecord::Migration[5.1]
2019-11-07 12:35:10 -07:00
2018-05-08 08:26:34 -06:00
def change
# We use `discarded_at` now, because that what the "discard" gem wants.
remove_column :points, :archived_at, :datetime, default: nil
end
end