Add model ModuleAPICarto
This commit is contained in:
parent
6a471fe867
commit
8130e7d155
6 changed files with 35 additions and 1 deletions
9
db/migrate/20151207095904_create_module_api_carto.rb
Normal file
9
db/migrate/20151207095904_create_module_api_carto.rb
Normal 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
|
Loading…
Add table
Add a link
Reference in a new issue