chore(schema): +dossier_corrections#kind

This commit is contained in:
Colin Darie 2023-06-14 13:13:30 +02:00
parent 93b0af50cc
commit 1c977c72bf
No known key found for this signature in database
GPG key ID: 4FB865FDBCA4BCC4
3 changed files with 9 additions and 0 deletions

View file

@ -0,0 +1,5 @@
class AddKindToDossierCorrections < ActiveRecord::Migration[7.0]
def change
add_column :dossier_corrections, :kind, :string, default: 'correction', null: false
end
end

View file

@ -323,6 +323,7 @@ ActiveRecord::Schema[7.0].define(version: 2023_06_29_102031) do
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.index ["commentaire_id"], name: "index_dossier_corrections_on_commentaire_id"
t.index ["dossier_id"], name: "index_dossier_corrections_on_dossier_id"
t.index ["resolved_at"], name: "index_dossier_corrections_on_resolved_at", where: "((resolved_at IS NULL) OR (resolved_at IS NOT NULL))"