EctoHLClock v0.2.1 EctoHLClock.Migration View Source

Ecto migration helper for adding constraints to the HLC :binary column to help ensure that only valid HLCs are stored

Link to this section Summary

Functions

Enforce the constraint that the column only stores exactly 128-bit binaries

Link to this section Functions

Link to this function

create_hlc_constraint(table, field) View Source

Enforce the constraint that the column only stores exactly 128-bit binaries