Merge pull request #9386 from demarches-simplifiees/remove-routing-criteria-name-column
Tech : supprime la colonne procedures#routing_criteria_name
This commit is contained in:
commit
98909f922b
3 changed files with 9 additions and 4 deletions
|
@ -12,8 +12,7 @@ class Procedure < ApplicationRecord
|
|||
:durees_conservation_required,
|
||||
:cerfa_flag,
|
||||
:test_started_at,
|
||||
:lien_demarche,
|
||||
:routing_criteria_name
|
||||
:lien_demarche
|
||||
]
|
||||
|
||||
default_scope -> { kept }
|
||||
|
|
|
@ -0,0 +1,7 @@
|
|||
class RemoveRoutingCriteriaNameColumn < ActiveRecord::Migration[7.0]
|
||||
def change
|
||||
safety_assured do
|
||||
remove_column :procedures, :routing_criteria_name, :string, default: "Votre ville"
|
||||
end
|
||||
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: 2023_08_02_121131) do
|
||||
ActiveRecord::Schema[7.0].define(version: 2023_08_02_161011) do
|
||||
# These are extensions that must be enabled in order to support this database
|
||||
enable_extension "pgcrypto"
|
||||
enable_extension "plpgsql"
|
||||
|
@ -777,7 +777,6 @@ ActiveRecord::Schema[7.0].define(version: 2023_08_02_121131) do
|
|||
t.datetime "published_at", precision: 6
|
||||
t.bigint "published_revision_id"
|
||||
t.bigint "replaced_by_procedure_id"
|
||||
t.text "routing_criteria_name", default: "Votre ville"
|
||||
t.boolean "routing_enabled"
|
||||
t.bigint "service_id"
|
||||
t.jsonb "sva_svr", default: {}, null: false
|
||||
|
|
Loading…
Reference in a new issue