mirror of
https://github.com/plausible/analytics.git
synced 2024-11-30 00:58:54 +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
|