StatifierPersistence.Ecto.KeyGenerator.Bigserial (StatifierPersistence v0.1.0)

Copy Markdown View Source

Database-assigned auto-increment keys (ADR-0002 decision 2).

Supported for hosts with that convention, not defaulted: a sequential id leaks row counts if exposed, and that is the host's trade to make. Schema fields are :id over :bigserial columns; autogenerate/2 returns nil because the database assigns the key.