-
Couldn't load subscription status.
- Fork 14
Open
Description
In my application.ex:
{EctoWatch,
repo: Bla.Repo,
pub_sub: Bla.PubSub,
watchers: [
{Bla.Things, :inserted}
]},
In my schema:
@primary_key false
schema "things" do
field :timestamp, :utc_datetime, primary_key: true
field :something, :string, primary_key: true
field :other, :string
end
In WatcherOptions, Line 32 it crashes:
[primary_key] = schema_mod.__schema__(:primary_key)
schema_mod.schema(:primary_key) returns a list of two keys, which cannot be matched to [primary_key]
Metadata
Metadata
Assignees
Labels
No labels