EctoHLClock.Migration (EctoHLClock v0.3.0) 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