Skip to content

Commit

Permalink
Merge commit '98909f922bd135d53e3b97a3683a2988c53b5346' into devpf
Browse files Browse the repository at this point in the history
# Conflicts:
#	db/schema.rb
  • Loading branch information
maatinito committed Dec 12, 2023
2 parents 9194595 + 98909f9 commit 441ff75
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 3 deletions.
3 changes: 1 addition & 2 deletions app/models/procedure.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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 }
Expand Down
Original file line number Diff line number Diff line change
@@ -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
1 change: 0 additions & 1 deletion db/schema.rb
Original file line number Diff line number Diff line change
Expand Up @@ -776,7 +776,6 @@
t.datetime "published_at"
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
Expand Down

0 comments on commit 441ff75

Please sign in to comment.