Skip to content

Commit

Permalink
fix tzdata start issue
Browse files Browse the repository at this point in the history
  • Loading branch information
michaeljguarino committed Aug 24, 2024
1 parent e97eee4 commit 41808a8
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 0 deletions.
2 changes: 2 additions & 0 deletions apps/core/priv/repo/seeds/00_bootstrap.exs
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@ import System, only: [get_env: 1]
alias Core.Repo
alias Core.Schema

Application.ensure_all_started(:tzdata)

seed do
{:ok, admin} = Core.Services.Users.create_user(%{
name: get_env("ADMIN_NAME"),
Expand Down
1 change: 1 addition & 0 deletions apps/core/priv/repo/seeds/012_enterprise_plan.exs
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
import Botanist

seed do
{:ok, _} = Core.Services.Payments.setup_plans()
enterprise = Core.Services.Payments.get_platform_plan_by_name!("Enterprise")

Ecto.Changeset.change(enterprise, %{enterprise: true})
Expand Down
3 changes: 3 additions & 0 deletions rel/config/config.exs
Original file line number Diff line number Diff line change
Expand Up @@ -143,3 +143,6 @@ config :core,

config :openai,
token: get_env("OPENAI_BEARER_TOKEN")


config :tzdata, :autoupdate, :disabled

0 comments on commit 41808a8

Please sign in to comment.