Merge branch 'token-activity' into shigusegubu-new
This commit is contained in:
commit
612be88ee1
6 changed files with 33 additions and 1 deletions
13
priv/repo/migrations/20261106185600_add_token_activity.exs
Normal file
13
priv/repo/migrations/20261106185600_add_token_activity.exs
Normal file
|
|
@ -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.AddTokenActivity do
|
||||
use Ecto.Migration
|
||||
|
||||
def change do
|
||||
alter table(:oauth_tokens) do
|
||||
add_if_not_exists(:last_active, :naive_datetime_usec)
|
||||
end
|
||||
end
|
||||
end
|
||||
Loading…
Add table
Add a link
Reference in a new issue