Add the siret column to the services table
This commit is contained in:
parent
082e8ed626
commit
cfdbeca4da
2 changed files with 7 additions and 1 deletions
5
db/migrate/20180719125038_add_siret_to_services.rb
Normal file
5
db/migrate/20180719125038_add_siret_to_services.rb
Normal file
|
@ -0,0 +1,5 @@
|
|||
class AddSiretToServices < ActiveRecord::Migration[5.2]
|
||||
def change
|
||||
add_column :services, :siret, :string
|
||||
end
|
||||
end
|
|
@ -10,7 +10,7 @@
|
|||
#
|
||||
# It's strongly recommended that you check this file into your version control system.
|
||||
|
||||
ActiveRecord::Schema.define(version: 2018_06_27_092237) do
|
||||
ActiveRecord::Schema.define(version: 2018_07_19_125038) do
|
||||
|
||||
# These are extensions that must be enabled in order to support this database
|
||||
enable_extension "plpgsql"
|
||||
|
@ -541,6 +541,7 @@ ActiveRecord::Schema.define(version: 2018_06_27_092237) do
|
|||
t.string "telephone"
|
||||
t.text "horaires"
|
||||
t.text "adresse"
|
||||
t.string "siret"
|
||||
t.index ["administrateur_id", "nom"], name: "index_services_on_administrateur_id_and_nom", unique: true
|
||||
t.index ["administrateur_id"], name: "index_services_on_administrateur_id"
|
||||
end
|
||||
|
|
Loading…
Add table
Reference in a new issue