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