mirror of
https://akkoma.dev/AkkomaGang/akkoma.git
synced 2024-11-18 04:49:23 +00:00
a90c45b7e9
Close #304. Notes: - This patch was made on top of Pleroma develop, so I created a separate cachex worker for request signature actions, instead of Akkoma's instance cache. If that is a merge blocker, I can attempt to move logic around for that. - Regarding the `has_request_signatures: true -> false` state transition: I think that is a higher level thing (resetting instance state on new instance actor key) which is separate from the changes relevant to this one. Co-authored-by: Luna <git@l4.pm> Reviewed-on: https://akkoma.dev/AkkomaGang/akkoma/pulls/312 Co-authored-by: @luna@f.l4.pm <akkoma@l4.pm> Co-committed-by: @luna@f.l4.pm <akkoma@l4.pm>
10 lines
222 B
Elixir
10 lines
222 B
Elixir
defmodule Pleroma.Repo.Migrations.AddHasRequestSignatures do
|
|
use Ecto.Migration
|
|
|
|
def change do
|
|
alter table(:instances) do
|
|
add(:has_request_signatures, :boolean, default: false, null: false)
|
|
end
|
|
end
|
|
end
|