pleroma/priv/repo/migrations/20221128103145_add_per_user_post_expiry.exs
floatingghost 8ee97f6989
Add ability to set a default post expiry (#321)
Co-authored-by: FloatingGhost <hannah@coffee-and-dreams.uk>
Reviewed-on: https://akkoma.dev/AkkomaGang/akkoma/pulls/321
2022-12-02 14:44:06 +01:00

10 lines
191 B
Elixir

defmodule Pleroma.Repo.Migrations.AddPerUserPostExpiry do
use Ecto.Migration
def change do
alter table(:users) do
add(:status_ttl_days, :integer, null: true)
end
end
end