mirror of
https://github.com/plausible/analytics.git
synced 2024-12-24 01:54:34 +03:00
17 lines
348 B
Elixir
17 lines
348 B
Elixir
defmodule Plausible.Repo.Migrations.AllowFreeSubscriptions do
|
|
use Ecto.Migration
|
|
|
|
def up do
|
|
execute """
|
|
ALTER table subscriptions
|
|
ALTER paddle_subscription_id DROP NOT NULL,
|
|
ALTER update_url DROP NOT NULL,
|
|
ALTER cancel_url DROP NOT NULL,
|
|
ALTER next_bill_date DROP NOT NULL
|
|
"""
|
|
end
|
|
|
|
def down do
|
|
end
|
|
end
|