demarches-normaliennes/db/migrate/20171205151128_add_timestamps_to_entreprise.rb

7 lines
190 B
Ruby
Raw Normal View History

2017-12-05 16:37:58 +01:00
class AddTimestampsToEntreprise < ActiveRecord::Migration[5.0]
def change
add_column :entreprises, :created_at, :datetime
add_column :entreprises, :updated_at, :datetime
end
end