mirror of
https://github.com/plausible/analytics.git
synced 2024-11-30 00:58:54 +03:00
6ca7425dc9
* Add background job to send renewal notification * Use copy from Marko * Add expiration email in case the user has cancelled * Add queue config * Use correct tag for expiration email
11 lines
286 B
Elixir
11 lines
286 B
Elixir
defmodule Plausible.Repo.Migrations.AddSentRenewalNotifications do
|
|
use Ecto.Migration
|
|
|
|
def change do
|
|
create table(:sent_renewal_notifications) do
|
|
add :user_id, references(:users), null: false, on_delete: :delete_all
|
|
add :timestamp, :naive_datetime
|
|
end
|
|
end
|
|
end
|