Add User.list_inactive_users_query/1
This commit is contained in:
parent
aeafa0b2ef
commit
8add119444
3 changed files with 150 additions and 0 deletions
|
|
@ -0,0 +1,9 @@
|
|||
defmodule Pleroma.Repo.Migrations.AddSigninAndLastDigestDatesToUser do
|
||||
use Ecto.Migration
|
||||
|
||||
def change do
|
||||
alter table(:users) do
|
||||
add(:last_digest_emailed_at, :naive_datetime, default: fragment("now()"))
|
||||
end
|
||||
end
|
||||
end
|
||||
Loading…
Add table
Add a link
Reference in a new issue