From 9f7a61e53014db4f6e4b30d00ddfe9e1e76154ad Mon Sep 17 00:00:00 2001 From: Ilya Suzdalnitski Date: Sun, 11 Dec 2022 13:57:57 -0500 Subject: [PATCH] Update Dynamic Event Store.md It seems that `prefix` is being renamed to `schema` anyways, it seems that `prefix` is getting deprecated? ```elixir # Rename `prefix` config to `schema` config = case Keyword.pop(config, :prefix) do {nil, config} -> config {prefix, config} -> Keyword.put(config, :schema, prefix) end ``` --- guides/Dynamic Event Store.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/guides/Dynamic Event Store.md b/guides/Dynamic Event Store.md index 996d97a..31cd8c4 100644 --- a/guides/Dynamic Event Store.md +++ b/guides/Dynamic Event Store.md @@ -24,7 +24,7 @@ defmodule MyApp.Application do config = put_in(config, [:event_store, :name], Module.concat([name, EventStore]) # Set event store prefix (Postgres schema) - config = put_in(config, [:event_store, :prefix], Atom.to_string(tenant)) + config = put_in(config, [:event_store, :schema], Atom.to_string(tenant)) {:ok, config} end