From 6389a29f60c2f194c819760bc42e868da1983d50 Mon Sep 17 00:00:00 2001 From: simon lehericey Date: Mon, 14 Oct 2019 18:07:40 +0200 Subject: [PATCH 1/2] Add procedure routing criteria name --- ...14160538_add_routing_criteria_name_column_to_procedure.rb | 5 +++++ db/schema.rb | 3 ++- 2 files changed, 7 insertions(+), 1 deletion(-) create mode 100644 db/migrate/20191014160538_add_routing_criteria_name_column_to_procedure.rb diff --git a/db/migrate/20191014160538_add_routing_criteria_name_column_to_procedure.rb b/db/migrate/20191014160538_add_routing_criteria_name_column_to_procedure.rb new file mode 100644 index 000000000..482a6d075 --- /dev/null +++ b/db/migrate/20191014160538_add_routing_criteria_name_column_to_procedure.rb @@ -0,0 +1,5 @@ +class AddRoutingCriteriaNameColumnToProcedure < ActiveRecord::Migration[5.2] + def change + add_column :procedures, :routing_criteria_name, :text + end +end diff --git a/db/schema.rb b/db/schema.rb index b9636b970..a9b5f57a9 100644 --- a/db/schema.rb +++ b/db/schema.rb @@ -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" From 3c5eaed2f35a692c3d60066d089af9f694a53093 Mon Sep 17 00:00:00 2001 From: simon lehericey Date: Wed, 16 Oct 2019 10:58:54 +0200 Subject: [PATCH 2/2] Add web3 and web4 --- lib/tasks/deploy.rake | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/tasks/deploy.rake b/lib/tasks/deploy.rake index d9202fcfd..371776366 100644 --- a/lib/tasks/deploy.rake +++ b/lib/tasks/deploy.rake @@ -3,7 +3,7 @@ def domains_for_stage(stage) when 'dev' ['web1.dev', 'web2.dev'] when 'prod' - ['web1', 'web2'] + ['web1', 'web2', 'web3', 'web4'] else raise "STAGE #{stage} is unknown. It must be either dev or prod." end