mirror of
https://github.com/plausible/analytics.git
synced 2024-12-19 15:41:56 +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
|