ProcedurePresentation: change default sort value
This commit is contained in:
parent
2b146a6d62
commit
d0cad00940
2 changed files with 9 additions and 4 deletions
|
@ -0,0 +1,5 @@
|
|||
class ChangeProcedurePresentationDefault < ActiveRecord::Migration[5.0]
|
||||
def change
|
||||
change_column_default :procedure_presentations, :sort, from: { "table" => "self", "column" => "id", "order" => "desc" }.to_json, to: { "table" => "notifications", "column" => "notifications", "order" => "desc" }.to_json
|
||||
end
|
||||
end
|
Loading…
Add table
Add a link
Reference in a new issue