2022-02-26 00:11:42 -06:00
|
|
|
# Pleroma: A lightweight social networking server
|
2023-01-02 14:38:50 -06:00
|
|
|
# Copyright © 2017-2022 Pleroma Authors <https://pleroma.social/>
|
2022-02-26 00:11:42 -06:00
|
|
|
# SPDX-License-Identifier: AGPL-3.0-only
|
|
|
|
|
2019-04-19 10:17:54 -05:00
|
|
|
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
|