Merge pull request #4406 from betagouv/add_name_to_groupe_instructeur_list

Ajoute une colonne dans la table procédure qui contiendra le label de la liste de routage
This commit is contained in:
LeSim 2019-10-16 10:36:41 +02:00 committed by GitHub
commit 8debd07b84
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 7 additions and 1 deletions

View file

@ -0,0 +1,5 @@
class AddRoutingCriteriaNameColumnToProcedure < ActiveRecord::Migration[5.2]
def change
add_column :procedures, :routing_criteria_name, :text
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: 2019_09_20_122228) do
ActiveRecord::Schema.define(version: 2019_10_14_160538) do
# These are extensions that must be enabled in order to support this database
enable_extension "plpgsql"
@ -486,6 +486,7 @@ ActiveRecord::Schema.define(version: 2019_09_20_122228) do
t.string "path", null: false
t.string "declarative_with_state"
t.text "monavis_embed"
t.text "routing_criteria_name"
t.index ["declarative_with_state"], name: "index_procedures_on_declarative_with_state"
t.index ["hidden_at"], name: "index_procedures_on_hidden_at"
t.index ["parent_procedure_id"], name: "index_procedures_on_parent_procedure_id"