add migration (#2988)

This commit is contained in:
RobertJoonas 2023-06-12 10:17:46 +03:00 committed by GitHub
parent b0c0214b6b
commit 5162da473c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -0,0 +1,11 @@
defmodule Plausible.Repo.Migrations.AddEnableFeatureFieldsForSite do
use Ecto.Migration
def change do
alter table(:sites) do
add :conversions_enabled, :boolean, null: false, default: true
add :funnels_enabled, :boolean, null: false, default: true
add :props_enabled, :boolean, null: false, default: true
end
end
end