Service: add organisme, email, tel, horaires, adresse
This commit is contained in:
parent
0be21395ac
commit
39bb56d1d9
8 changed files with 66 additions and 2 deletions
9
db/migrate/20180509152919_add_columns_to_service.rb
Normal file
9
db/migrate/20180509152919_add_columns_to_service.rb
Normal file
|
@ -0,0 +1,9 @@
|
|||
class AddColumnsToService < ActiveRecord::Migration[5.2]
|
||||
def change
|
||||
add_column :services, :organisme, :string
|
||||
add_column :services, :email, :string
|
||||
add_column :services, :telephone, :string
|
||||
add_column :services, :horaires, :text
|
||||
add_column :services, :adresse, :text
|
||||
end
|
||||
end
|
Loading…
Add table
Add a link
Reference in a new issue