Add model ModuleAPICarto

This commit is contained in:
Xavier J 2015-12-07 11:29:34 +01:00
parent 6a471fe867
commit 8130e7d155
6 changed files with 35 additions and 1 deletions

View file

@ -0,0 +1,9 @@
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