Skip to content

Commit

Permalink
chore(schema): remove dossier_corrections#kind, replaced in b196c95
Browse files Browse the repository at this point in the history
  • Loading branch information
colinux committed Jul 27, 2023
1 parent 27d4be4 commit 3727ef2
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 2 deletions.
7 changes: 7 additions & 0 deletions db/migrate/20230713163641_remove_dossier_corrections_kind.rb
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
class RemoveDossierCorrectionsKind < ActiveRecord::Migration[7.0]
def change
safety_assured do
remove_column :dossier_corrections, :kind, :string, default: 'incorrect', null: false
end
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: 2023_07_19_112020) do
ActiveRecord::Schema[7.0].define(version: 2023_07_18_113920) do
# These are extensions that must be enabled in order to support this database
enable_extension "pgcrypto"
enable_extension "plpgsql"
Expand Down Expand Up @@ -336,7 +336,6 @@
t.bigint "dossier_id", null: false
t.datetime "resolved_at", precision: 6
t.datetime "updated_at", precision: 6, null: false
t.string "kind", default: "correction", null: false
t.string "reason", default: "incorrect", null: false
t.index ["commentaire_id"], name: "index_dossier_corrections_on_commentaire_id"
t.index ["dossier_id"], name: "index_dossier_corrections_on_dossier_id"
Expand Down

0 comments on commit 3727ef2

Please sign in to comment.