electric-sql / electric-sql/phoenix_sync

No schema prefix means any schema prefix

Open
#25 1 comment 0 reactions 0 assignees View on GitHub
question
Dominant language
Elixir
Stars
290
Forks
17
PR merge metrics
No merged PRs in 30d

Description

Just read this in (the new Writer) docs:

> If you pass just a table name, then any schema prefix in the client tables is ignored, so
> ```elixir
> Writer.allow(Todos, table: "todos")
> ```
> will match client operations for ["public", "todos"] and ["application", "todos"] etc.

Jumped out as surprising. I would have thought no-schema means public and any schema must be explicit? Or is there a reason related to the way Ecto configures schemas?

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.