demarches-normaliennes/db/migrate/20180416120759_create_services.rb

11 lines
214 B
Ruby
Raw Normal View History

2018-04-17 16:11:49 +02:00
class CreateServices < ActiveRecord::Migration[5.2]
def change
create_table :services do |t|
t.string :type_organisme, null: false
t.string :nom, null: false
t.timestamps
end
end
end