Store mutes expiration date
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
This commit is contained in:
parent
75f912c63f
commit
b0f83aea29
6 changed files with 73 additions and 13 deletions
|
|
@ -0,0 +1,13 @@
|
|||
# Pleroma: A lightweight social networking server
|
||||
# Copyright © 2017-2022 Pleroma Authors <https://pleroma.social/>
|
||||
# SPDX-License-Identifier: AGPL-3.0-only
|
||||
|
||||
defmodule Pleroma.Repo.Migrations.AddExpiresAtToUserRelationships do
|
||||
use Ecto.Migration
|
||||
|
||||
def change do
|
||||
alter table(:user_relationships) do
|
||||
add_if_not_exists(:expires_at, :naive_datetime)
|
||||
end
|
||||
end
|
||||
end
|
||||
Loading…
Add table
Add a link
Reference in a new issue