Merge pull request #6034 from betagouv/db-cleanup

Correction de modifications mineures oubliées lors de mises à jour précédentes de la base de donnée (#6034)
This commit is contained in:
Pierre de La Morinerie 2021-03-30 12:52:01 +02:00 committed by GitHub
commit b4f8ffb748
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 1 additions and 2 deletions

View file

@ -45,7 +45,6 @@
# created_at :datetime
# updated_at :datetime
# dossier_id :integer
# entreprise_id :integer
#
class Etablissement < ApplicationRecord
self.ignored_columns = [:entreprise_id]

View file

@ -258,9 +258,9 @@ ActiveRecord::Schema.define(version: 2021_03_18_090001) do
t.datetime "last_champ_private_updated_at"
t.datetime "last_avis_updated_at"
t.datetime "last_commentaire_updated_at"
t.string "api_entreprise_job_exceptions", array: true
t.index "to_tsvector('french'::regconfig, (search_terms || private_search_terms))", name: "index_dossiers_on_search_terms_private_search_terms", using: :gin
t.index "to_tsvector('french'::regconfig, search_terms)", name: "index_dossiers_on_search_terms", using: :gin
t.string "api_entreprise_job_exceptions", array: true
t.index ["archived"], name: "index_dossiers_on_archived"
t.index ["groupe_instructeur_id"], name: "index_dossiers_on_groupe_instructeur_id"
t.index ["hidden_at"], name: "index_dossiers_on_hidden_at"