Migration: add defaut value to routing critéria

This commit is contained in:
simon lehericey 2019-10-23 20:42:34 +02:00
parent e97c705628
commit 7a922f46b2
2 changed files with 7 additions and 2 deletions

View file

@ -0,0 +1,5 @@
class AddDefaultValueToRoutingCriteriaName < ActiveRecord::Migration[5.2]
def change
change_column :procedures, :routing_criteria_name, :text, default: "Votre ville"
end
end