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