Cleanup demarche archivee state
This commit is contained in:
parent
4527124755
commit
fa2eea81aa
6 changed files with 17 additions and 22 deletions
|
@ -0,0 +1,6 @@
|
|||
class AddProceduresPathClosedAtHiddenAtIndex < ActiveRecord::Migration[5.2]
|
||||
def change
|
||||
add_index :procedures, [:path, :closed_at, :hidden_at], unique: true
|
||||
remove_index :procedures, [:path, :archived_at, :hidden_at]
|
||||
end
|
||||
end
|
Loading…
Add table
Add a link
Reference in a new issue