mirror of
https://github.com/plausible/analytics.git
synced 2024-11-28 04:30:42 +03:00
10 lines
207 B
Elixir
10 lines
207 B
Elixir
defmodule Plausible.Repo.Migrations.AddLastSeenToUsers do
|
|
use Ecto.Migration
|
|
|
|
def change do
|
|
alter table(:users) do
|
|
add :last_seen, :naive_datetime, default: fragment("now()")
|
|
end
|
|
end
|
|
end
|