Packages

Add recurring billing to your Phoenix application

Current section

Files

Jump to
bling_paddle stubs customer_migration.exs.stub
Raw

stubs/customer_migration.exs.stub

defmodule <%= @module_name %>.Repo.Migrations.<%= @schema_name %>CustomerColumns do
use Ecto.Migration
def change do
alter table(:<%= @table_name %>) do
add :trial_ends_at, :utc_datetime, null: true
end
end
end