demarches-normaliennes/db/migrate/20180509152919_add_columns_to_service.rb
2018-05-18 16:21:27 +02:00

9 lines
299 B
Ruby

class AddColumnsToService < ActiveRecord::Migration[5.2]
def change
add_column :services, :organisme, :string
add_column :services, :email, :string
add_column :services, :telephone, :string
add_column :services, :horaires, :text
add_column :services, :adresse, :text
end
end