analytics/priv/repo/migrations/20200323084954_add_check_stats_emails.exs
Uku Taht ee92ed5213
Email flows (#46)
* Update activation email

* Update trial upgrade emails

* Remove feedback emails

* Remove feedback email test

* Update welcome email (and send it earlier)

* Site setup emails

* Add create site emails for trialers

* Add check stats email

* Remove dead code

* Adjust site setup emails for users who are not on trial

* BCC myself on all new emails

* Use old phrasing in the welcome email
2020-03-23 11:34:25 +02:00

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