Add option to modify HTTP pool size
[akkoma] / priv / repo / migrations / 20190716100804_add_expirations_table.exs
1 defmodule Pleroma.Repo.Migrations.AddExpirationsTable do
2 use Ecto.Migration
3
4 def change do
5 create_if_not_exists table(:activity_expirations) do
6 add(:activity_id, references(:activities, type: :uuid, on_delete: :delete_all))
7 add(:scheduled_at, :naive_datetime, null: false)
8 end
9 end
10 end