analytics/priv/repo/migrations/20190213224404_add_intro_emails.exs
2019-09-02 12:29:19 +01:00

11 lines
235 B
Elixir

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