Fix long report notes giving errors on creation

This commit is contained in:
Tusooa Zhu 2022-06-02 01:28:39 -04:00
commit b096fbba1a
No known key found for this signature in database
GPG key ID: 7B467EDE43A08224
2 changed files with 39 additions and 0 deletions

View file

@ -0,0 +1,16 @@
defmodule Pleroma.Repo.Migrations.ChangeReportNotesContentToText do
use Ecto.Migration
def up do
alter table(:report_notes) do
modify(:content, :text)
end
end
# 20191203043610_create_report_notes.exs
def down do
alter table(:report_notes) do
modify(:content, :string)
end
end
end