Farmbot-Web-App/db/migrate/20180301222052_add_planted_at_to_plants.rb

7 lines
159 B
Ruby
Raw Normal View History

2018-03-01 15:24:29 -07:00
class AddPlantedAtToPlants < ActiveRecord::Migration[5.1]
safety_assured
2018-03-01 15:24:29 -07:00
def change
2018-03-01 15:39:45 -07:00
add_column :plants, :planted_at, :datetime, default: nil
2018-03-01 15:24:29 -07:00
end
end