mirror of
https://github.com/plausible/analytics.git
synced 2024-11-30 00:58:54 +03:00
11 lines
270 B
Elixir
11 lines
270 B
Elixir
|
defmodule Plausible.Repo.Migrations.AddCheckStatsEmails do
|
||
|
use Ecto.Migration
|
||
|
|
||
|
def change do
|
||
|
create table(:check_stats_emails) do
|
||
|
add :user_id, references(:users), null: false, on_delete: :delete_all
|
||
|
add :timestamp, :naive_datetime
|
||
|
end
|
||
|
end
|
||
|
end
|