From 2b763e4484808aeb5371a3baef1f83f78e92704a Mon Sep 17 00:00:00 2001 From: Mathieu Magnin Date: Wed, 27 Feb 2019 15:44:42 +0100 Subject: [PATCH] Add procedure_id index to type_de_piece_justificative --- ...add_procedure_id_index_to_types_de_piece_justificative.rb | 5 +++++ 1 file changed, 5 insertions(+) create mode 100644 db/migrate/20190226160356_add_procedure_id_index_to_types_de_piece_justificative.rb diff --git a/db/migrate/20190226160356_add_procedure_id_index_to_types_de_piece_justificative.rb b/db/migrate/20190226160356_add_procedure_id_index_to_types_de_piece_justificative.rb new file mode 100644 index 000000000..bc4579cd2 --- /dev/null +++ b/db/migrate/20190226160356_add_procedure_id_index_to_types_de_piece_justificative.rb @@ -0,0 +1,5 @@ +class AddProcedureIdIndexToTypesDePieceJustificative < ActiveRecord::Migration[5.2] + def change + add_index :types_de_piece_justificative, :procedure_id + end +end