fix(api-entreprise): save libelle_commune_etranger and libelle_pays_etranger in db
This commit is contained in:
parent
58037f21cd
commit
f5fdef0600
8 changed files with 135 additions and 6 deletions
|
@ -0,0 +1,7 @@
|
|||
# frozen_string_literal: true
|
||||
|
||||
class AddNomPaysToEtablissements < ActiveRecord::Migration[7.0]
|
||||
def change
|
||||
add_column :etablissements, :nom_pays, :string
|
||||
end
|
||||
end
|
|
@ -10,7 +10,7 @@
|
|||
#
|
||||
# It's strongly recommended that you check this file into your version control system.
|
||||
|
||||
ActiveRecord::Schema[7.0].define(version: 2024_08_30_125438) do
|
||||
ActiveRecord::Schema[7.0].define(version: 2024_09_13_150318) do
|
||||
# These are extensions that must be enabled in order to support this database
|
||||
enable_extension "pg_buffercache"
|
||||
enable_extension "pg_stat_statements"
|
||||
|
@ -570,6 +570,7 @@ ActiveRecord::Schema[7.0].define(version: 2024_08_30_125438) do
|
|||
t.string "libelle_naf"
|
||||
t.string "localite"
|
||||
t.string "naf"
|
||||
t.string "nom_pays"
|
||||
t.string "nom_voie"
|
||||
t.string "numero_voie"
|
||||
t.boolean "siege_social"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue