instructeurs: affiche l'effectif moyen annuel n-1

This commit is contained in:
Christophe Robillard 2020-04-22 17:53:45 +02:00
parent 85d119fa4d
commit 453adf3c74
11 changed files with 94 additions and 3 deletions

View file

@ -0,0 +1,6 @@
class AddEffectifAnneeAnterieure < ActiveRecord::Migration[5.2]
def change
add_column :etablissements, :entreprise_effectif_annuel, :decimal
add_column :etablissements, :entreprise_effectif_annuel_annee, :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_04_21_174642) do
ActiveRecord::Schema.define(version: 2020_04_22_090426) do
# These are extensions that must be enabled in order to support this database
enable_extension "plpgsql"
@ -314,6 +314,8 @@ ActiveRecord::Schema.define(version: 2020_04_21_174642) do
t.string "entreprise_effectif_mois"
t.string "entreprise_effectif_annee"
t.decimal "entreprise_effectif_mensuel"
t.decimal "entreprise_effectif_annuel"
t.string "entreprise_effectif_annuel_annee"
t.index ["dossier_id"], name: "index_etablissements_on_dossier_id"
end