summaryrefslogtreecommitdiff
path: root/priv
diff options
context:
space:
mode:
authorfeld <feld@feld.me>2019-12-11 23:45:44 +0000
committerfeld <feld@feld.me>2019-12-11 23:45:44 +0000
commit2aa609db8a43e0eca8b998a4f42de6f0b19011ac (patch)
tree0e8a59c43ccc344bb7d57c32826675aa706b7e8e /priv
parentfd697cf2090b61db60a02694c3227850df176e2d (diff)
parent3ecf131511afc1fc366be6402ca94cf0e6c30e11 (diff)
downloadpleroma-2aa609db8a43e0eca8b998a4f42de6f0b19011ac.tar.gz
pleroma-2aa609db8a43e0eca8b998a4f42de6f0b19011ac.zip
Merge branch 'feature/report-notes' into 'develop'
AdminAPI: Add report notes See merge request pleroma/pleroma!2031
Diffstat (limited to 'priv')
-rw-r--r--priv/repo/migrations/20191203043610_create_report_notes.exs13
1 files changed, 13 insertions, 0 deletions
diff --git a/priv/repo/migrations/20191203043610_create_report_notes.exs b/priv/repo/migrations/20191203043610_create_report_notes.exs
new file mode 100644
index 000000000..a4f8c096d
--- /dev/null
+++ b/priv/repo/migrations/20191203043610_create_report_notes.exs
@@ -0,0 +1,13 @@
+defmodule Pleroma.Repo.Migrations.CreateReportNotes do
+ use Ecto.Migration
+
+ def change do
+ create_if_not_exists table(:report_notes) do
+ add(:user_id, references(:users, type: :uuid))
+ add(:activity_id, references(:activities, type: :uuid))
+ add(:content, :string)
+
+ timestamps()
+ end
+ end
+end