analytics/priv/repo/migrations/20190213224404_add_intro_emails.exs

11 lines
235 B
Elixir
Raw Normal View History

2019-09-02 14:29:19 +03:00
defmodule Plausible.Repo.Migrations.AddIntroEmails do
use Ecto.Migration
def change do
create table(:intro_emails) do
add :user_id, references(:users), null: false
add :timestamp, :naive_datetime
end
end
end