🌲 alog (Append-only Log) is an easy way to start using the Lambda/Kappa architecture in your Elixir/Phoenix Apps while still using PostgreSQL (with Ecto).
Checks that a table does not have a unique index applied to it when Alog is used.
If a unique index is applied, we would not be able to append items to the database, which would throw an error. We are therefore checking this, and throwing our own informative error if this is the case.
Looks at use of existing Ecto.Changeset.unique_constraint/3 function, and performs our own check to make sure a field is unique, based on entry ids.
ref #21
Ecto.Changeset.unique_constraint/3
function, and performs our own check to make sure a field is unique, based on entry ids.