View Source BitcrowdEcto (bitcrowd_ecto v1.0.0)
This library contains Bitcrowd's collection of tiny Ecto helpers.
BitcrowdEcto.Schema
is our default schema template which configures PK/FKs and timestamp types, among other things.BitcrowdEcto.Repo
contains extensions for Ecto repos, likefetch/2
.BitcrowdEcto.Migrator
contains a tool for migrating from within releases.BitcrowdEcto.Migration
contains functions used in migrations.BitcrowdEcto.Changeset
contains mostly validators, plus the introspection-basedcast_all/3
.- The
validate_money/3
validator is enabled when you addex_money
as a dependency to your project. Note that you need to recompilebitcrowd_ecto
when you addex_money
later.
- The
BitcrowdEcto.DateTime
contains date/time helpers.BitcrowdEcto.Assertions
has an assortment of useful ExUnit assertions related to Ecto schemas.BitcrowdEcto.Random
contains functions that generate random tokens.