Service: create model
This commit is contained in:
parent
c62cddc389
commit
fc17b68dc1
9 changed files with 107 additions and 0 deletions
10
db/migrate/20180416120759_create_services.rb
Normal file
10
db/migrate/20180416120759_create_services.rb
Normal file
|
@ -0,0 +1,10 @@
|
|||
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
|
Loading…
Add table
Add a link
Reference in a new issue