Skip to content

Commit

Permalink
migration to remove hidden_at from dossiers
Browse files Browse the repository at this point in the history
  • Loading branch information
lisa-durand committed Sep 18, 2024
1 parent 6b322d6 commit a43ef0f
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
class RemoveHiddenAtColumnFromDossiers < ActiveRecord::Migration[7.0]
def change
safety_assured { remove_columns :dossiers, :hidden_at }
end
end
3 changes: 1 addition & 2 deletions db/schema.rb
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
#
# It's strongly recommended that you check this file into your version control system.

ActiveRecord::Schema[7.0].define(version: 2024_09_16_114050) do
ActiveRecord::Schema[7.0].define(version: 2024_09_18_132319) do
# These are extensions that must be enabled in order to support this database
enable_extension "pg_buffercache"
enable_extension "pg_stat_statements"
Expand Down Expand Up @@ -483,7 +483,6 @@
t.boolean "forced_groupe_instructeur", default: false, null: false
t.bigint "groupe_instructeur_id"
t.datetime "groupe_instructeur_updated_at", precision: nil
t.datetime "hidden_at", precision: nil
t.datetime "hidden_by_administration_at", precision: nil
t.datetime "hidden_by_expired_at"
t.string "hidden_by_reason"
Expand Down

0 comments on commit a43ef0f

Please sign in to comment.