Skip to content

Open source, privacy-first web analytics. Lightweight, cookie-free Google Analytics alternative. Self-hosted or cloud.

Display names: 1st stage migration (#4425)

hq12e6ba4ba42df
diff --git a/priv/repo/migrations/20240801052902_add_goal_display_name.exs b/priv/repo/migrations/20240801052902_add_goal_display_name.exs
new file mode 100644
index 0000000000..7c3a4af702
--- /dev/null
+++ b/priv/repo/migrations/20240801052902_add_goal_display_name.exs
@@ -0,0 +1,9 @@
+defmodule Plausible.Repo.Migrations.AddGoalDisplayName do
+ use Ecto.Migration
+
+ def change do
+ alter table(:goals) do
+ add :display_name, :text
+ end
+ end
+end