prend en compte le nom de l'enseigne pour l'établissement

This commit is contained in:
Christophe Robillard 2020-08-20 10:21:34 +02:00
parent 0a5a5ef317
commit f77cc06a91
10 changed files with 100 additions and 11 deletions

View file

@ -0,0 +1,5 @@
class AddEnseigneToEtablissements < ActiveRecord::Migration[6.0]
def change
add_column :etablissements, :enseigne, :string
end
end

View file

@ -10,7 +10,7 @@
#
# It's strongly recommended that you check this file into your version control system.
ActiveRecord::Schema.define(version: 2020_07_22_135121) do
ActiveRecord::Schema.define(version: 2020_08_19_153016) do
# These are extensions that must be enabled in order to support this database
enable_extension "plpgsql"
@ -323,6 +323,7 @@ ActiveRecord::Schema.define(version: 2020_07_22_135121) do
t.string "entreprise_effectif_annuel_annee"
t.jsonb "entreprise_bilans_bdf"
t.string "entreprise_bilans_bdf_monnaie"
t.string "enseigne"
t.index ["dossier_id"], name: "index_etablissements_on_dossier_id"
end