From 3a07487c0500b45cfacc45d9fc4ee093121b3684 Mon Sep 17 00:00:00 2001 From: Vini Brasil Date: Tue, 23 May 2023 10:55:46 +0200 Subject: [PATCH] Add currency field to goals table (#2955) --- .../20230417092745_add_monetary_value_to_goals.exs | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 priv/repo/migrations/20230417092745_add_monetary_value_to_goals.exs diff --git a/priv/repo/migrations/20230417092745_add_monetary_value_to_goals.exs b/priv/repo/migrations/20230417092745_add_monetary_value_to_goals.exs new file mode 100644 index 000000000..2776d3a80 --- /dev/null +++ b/priv/repo/migrations/20230417092745_add_monetary_value_to_goals.exs @@ -0,0 +1,9 @@ +defmodule Plausible.Repo.Migrations.AddMonetaryValueToGoals do + use Ecto.Migration + + def change do + alter table(:goals) do + add :currency, :"varchar(3)" + end + end +end