mirror of
https://github.com/plausible/analytics.git
synced 2024-12-27 03:21:37 +03:00
ee92ed5213
* 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
16 lines
430 B
Elixir
16 lines
430 B
Elixir
defmodule Plausible.Repo.Migrations.AddSetupEmails do
|
|
use Ecto.Migration
|
|
|
|
def change do
|
|
create table(:setup_help_emails) do
|
|
add :site_id, references(:sites), null: false, on_delete: :delete_all
|
|
add :timestamp, :naive_datetime
|
|
end
|
|
|
|
create table(:setup_success_emails) do
|
|
add :site_id, references(:sites), null: false, on_delete: :delete_all
|
|
add :timestamp, :naive_datetime
|
|
end
|
|
end
|
|
end
|