diff --git a/lib/memento/table/definition.ex b/lib/memento/table/definition.ex index ae520b6..c28ee55 100644 --- a/lib/memento/table/definition.ex +++ b/lib/memento/table/definition.ex @@ -192,7 +192,7 @@ defmodule Memento.Table.Definition do @doc "Raise error if a given module is not a valid Memento Table" @spec validate_table!(module) :: :ok | no_return def validate_table!(module) do - Memento.Table = module.__info__.meta + Memento.Table = module.__info__().meta :ok rescue _ ->