mirror of
https://framagit.org/framasoft/mobilizon.git
synced 2024-12-26 09:49:12 +00:00
aef841e192
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
13 lines
374 B
Elixir
13 lines
374 B
Elixir
defmodule Mobilizon.Repo.Migrations.CreateReportNotes do
|
|
use Ecto.Migration
|
|
|
|
def change do
|
|
create table(:report_notes) do
|
|
add(:content, :string, null: false)
|
|
add(:moderator_id, references(:actors, on_delete: :delete_all), null: false)
|
|
add(:report_id, references(:reports, on_delete: :delete_all), null: false)
|
|
|
|
timestamps()
|
|
end
|
|
end
|
|
end
|