From 7360160b47c38f0fe98bd493992f78cc79ee4bd9 Mon Sep 17 00:00:00 2001 From: michaeljguarino Date: Tue, 19 Sep 2023 10:34:35 -0400 Subject: [PATCH] add backfill job --- apps/core/priv/repo/seeds/015_backfill_plans.exs | 5 +++++ apps/graphql/lib/graphql/schema/payments.ex | 1 + 2 files changed, 6 insertions(+) create mode 100644 apps/core/priv/repo/seeds/015_backfill_plans.exs diff --git a/apps/core/priv/repo/seeds/015_backfill_plans.exs b/apps/core/priv/repo/seeds/015_backfill_plans.exs new file mode 100644 index 0000000000..47b6c797cb --- /dev/null +++ b/apps/core/priv/repo/seeds/015_backfill_plans.exs @@ -0,0 +1,5 @@ +import Botanist + +seed do + Core.Services.Payments.backfill_plan_features() +end diff --git a/apps/graphql/lib/graphql/schema/payments.ex b/apps/graphql/lib/graphql/schema/payments.ex index 3d9284ce61..f4ca714cc6 100644 --- a/apps/graphql/lib/graphql/schema/payments.ex +++ b/apps/graphql/lib/graphql/schema/payments.ex @@ -116,6 +116,7 @@ defmodule GraphQl.Schema.Payments do field :user_management, :boolean field :audit, :boolean field :database_management, :boolean + field :cd, :boolean end object :service_level do