chore(schema): +services#siret

This commit is contained in:
Colin Darie 2022-07-19 12:19:22 +02:00
parent 54e7a713b4
commit a4d9a45280
3 changed files with 7 additions and 0 deletions

View file

@ -8,6 +8,7 @@
# horaires :text # horaires :text
# nom :string not null # nom :string not null
# organisme :string # organisme :string
# siret :string
# telephone :string # telephone :string
# type_organisme :string not null # type_organisme :string not null
# created_at :datetime not null # created_at :datetime not null

View file

@ -0,0 +1,5 @@
class AddSiretToServices < ActiveRecord::Migration[6.1]
def change
add_column :services, :siret, :string
end
end

View file

@ -709,6 +709,7 @@ ActiveRecord::Schema.define(version: 2022_09_02_151920) do
t.text "horaires" t.text "horaires"
t.string "nom", null: false t.string "nom", null: false
t.string "organisme" t.string "organisme"
t.string "siret"
t.string "telephone" t.string "telephone"
t.string "type_organisme", null: false t.string "type_organisme", null: false
t.datetime "updated_at", null: false t.datetime "updated_at", null: false