demarches-normaliennes/db/migrate/20171024100606_add_time_stamp_to_champs.rb

7 lines
175 B
Ruby
Raw Normal View History

class AddTimeStampToChamps < ActiveRecord::Migration[5.0]
def change
add_column :champs, :created_at, :datetime
add_column :champs, :updated_at, :datetime
end
end