chore(schema): +services#siret
This commit is contained in:
parent
54e7a713b4
commit
a4d9a45280
3 changed files with 7 additions and 0 deletions
|
@ -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
|
||||||
|
|
5
db/migrate/20220718134835_add_siret_to_services.rb
Normal file
5
db/migrate/20220718134835_add_siret_to_services.rb
Normal file
|
@ -0,0 +1,5 @@
|
||||||
|
class AddSiretToServices < ActiveRecord::Migration[6.1]
|
||||||
|
def change
|
||||||
|
add_column :services, :siret, :string
|
||||||
|
end
|
||||||
|
end
|
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue