projects
/
akkoma
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
normalise markup by default (#316)
[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