You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
14 lines
324 B
14 lines
324 B
5 years ago
|
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
|