db(routing): remove routing criteria name column
This commit is contained in:
parent
441360a7f4
commit
bbb3823212
3 changed files with 9 additions and 4 deletions
|
@ -12,8 +12,7 @@ class Procedure < ApplicationRecord
|
||||||
:durees_conservation_required,
|
:durees_conservation_required,
|
||||||
:cerfa_flag,
|
:cerfa_flag,
|
||||||
:test_started_at,
|
:test_started_at,
|
||||||
:lien_demarche,
|
:lien_demarche
|
||||||
:routing_criteria_name
|
|
||||||
]
|
]
|
||||||
|
|
||||||
default_scope -> { kept }
|
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.
|
# 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
|
# These are extensions that must be enabled in order to support this database
|
||||||
enable_extension "pgcrypto"
|
enable_extension "pgcrypto"
|
||||||
enable_extension "plpgsql"
|
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.datetime "published_at", precision: 6
|
||||||
t.bigint "published_revision_id"
|
t.bigint "published_revision_id"
|
||||||
t.bigint "replaced_by_procedure_id"
|
t.bigint "replaced_by_procedure_id"
|
||||||
t.text "routing_criteria_name", default: "Votre ville"
|
|
||||||
t.boolean "routing_enabled"
|
t.boolean "routing_enabled"
|
||||||
t.bigint "service_id"
|
t.bigint "service_id"
|
||||||
t.jsonb "sva_svr", default: {}, null: false
|
t.jsonb "sva_svr", default: {}, null: false
|
||||||
|
|
Loading…
Reference in a new issue