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

6 lines
175 B
Ruby

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