add identity_updated_at column to dossier

This commit is contained in:
simon lehericey 2021-10-04 10:03:06 +02:00
parent bdb964b326
commit 3a878dfc04
3 changed files with 8 additions and 1 deletions

View file

@ -15,6 +15,7 @@
# en_instruction_at :datetime
# groupe_instructeur_updated_at :datetime
# hidden_at :datetime
# identity_updated_at :datetime
# last_avis_updated_at :datetime
# last_champ_private_updated_at :datetime
# last_champ_updated_at :datetime

View file

@ -0,0 +1,5 @@
class AddIdentityUpdatedAtToDossier < ActiveRecord::Migration[6.1]
def change
add_column :dossiers, :identity_updated_at, :datetime
end
end

View file

@ -10,7 +10,7 @@
#
# It's strongly recommended that you check this file into your version control system.
ActiveRecord::Schema.define(version: 2021_09_23_083416) do
ActiveRecord::Schema.define(version: 2021_10_01_143403) do
# These are extensions that must be enabled in order to support this database
enable_extension "plpgsql"
@ -316,6 +316,7 @@ ActiveRecord::Schema.define(version: 2021_09_23_083416) do
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.bigint "dossier_transfer_id"
t.datetime "identity_updated_at"
t.index ["archived"], name: "index_dossiers_on_archived"
t.index ["dossier_transfer_id"], name: "index_dossiers_on_dossier_transfer_id"
t.index ["groupe_instructeur_id"], name: "index_dossiers_on_groupe_instructeur_id"