demarches-normaliennes/db/migrate/20151207095904_create_module_api_carto.rb

10 lines
223 B
Ruby
Raw Normal View History

2015-12-07 11:29:34 +01:00
class CreateModuleAPICarto < ActiveRecord::Migration
def change
create_table :module_api_cartos do |t|
t.string :name
end
add_reference :module_api_cartos, :procedure, references: :procedures
end
end