mirror of
https://github.com/plausible/analytics.git
synced 2024-12-25 10:33:01 +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
|