Skip to content

Commit

Permalink
add migration (#2988)
Browse files Browse the repository at this point in the history
  • Loading branch information
RobertJoonas committed Jun 12, 2023
1 parent b0c0214 commit 5162da4
Showing 1 changed file with 11 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -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

0 comments on commit 5162da4

Please sign in to comment.