mirror of
https://github.com/plausible/analytics.git
synced 2024-12-29 04:22:34 +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
|