Merge pull request #6121 from betagouv/easy_instructeur_dossier_show_improvments
Ajoute un index sur la colonne etablissement_id de la table exercices
This commit is contained in:
commit
b973f60379
2 changed files with 7 additions and 1 deletions
|
@ -0,0 +1,5 @@
|
|||
class AddIndexToExerciceEtablissementId < ActiveRecord::Migration[6.1]
|
||||
def change
|
||||
add_index :exercices, :etablissement_id
|
||||
end
|
||||
end
|
|
@ -10,7 +10,7 @@
|
|||
#
|
||||
# It's strongly recommended that you check this file into your version control system.
|
||||
|
||||
ActiveRecord::Schema.define(version: 2021_04_16_074049) do
|
||||
ActiveRecord::Schema.define(version: 2021_04_16_160721) do
|
||||
|
||||
# These are extensions that must be enabled in order to support this database
|
||||
enable_extension "plpgsql"
|
||||
|
@ -325,6 +325,7 @@ ActiveRecord::Schema.define(version: 2021_04_16_074049) do
|
|||
t.datetime "date_fin_exercice"
|
||||
t.datetime "created_at"
|
||||
t.datetime "updated_at"
|
||||
t.index ["etablissement_id"], name: "index_exercices_on_etablissement_id"
|
||||
end
|
||||
|
||||
create_table "experts", force: :cascade do |t|
|
||||
|
|
Loading…
Reference in a new issue