Migration: Consolidated views (#5735)
* add migration * behind ee_only + index * no index yet
This commit is contained in:
parent
b879c2d30b
commit
2be1220b70
|
|
@ -0,0 +1,13 @@
|
|||
defmodule Plausible.Repo.Migrations.AddConsolidatedFieldToSites do
|
||||
use Ecto.Migration
|
||||
|
||||
import Plausible.MigrationUtils
|
||||
|
||||
def change do
|
||||
if enterprise_edition?() do
|
||||
alter table(:sites) do
|
||||
add :consolidated, :boolean, null: false, default: false
|
||||
end
|
||||
end
|
||||
end
|
||||
end
|
||||
Loading…
Reference in New Issue