blob: 9671e495bb8a6c7167a3b39f9da4ab7e57f0b656 (
plain)
1
2
3
4
5
6
7
8
9
10
11
|
defmodule Pleroma.Repo.Migrations.AddLastActiveAtToUsers do
use Ecto.Migration
def change do
alter table(:users) do
add(:last_active_at, :naive_datetime)
end
create_if_not_exists(index(:users, [:last_active_at]))
end
end
|