Releases: dgigafox/drill
Releases · dgigafox/drill
v1.2.2
v1.2.1
v1.2.0
Added
- Add
:returning
option touse Drill
- Allow user to set
:source
to table name instead of schema - Add
:repo
toDrill.Context
- Allow user to override location of seeder file through
seeds_path
option when runningmix drill
. E.g.mix drill -r MyApp.Repo --seeds-path priv/seeds/core
- Allow manual seeds and set callback
factory/0
to optional
Fixed
- Remove running migration when running task. Migration should now be run explicitly before running
mix drill
- Start all registered apps before seeding to ensure apps required by seeds have started such as uploaders, genservers, dependencies, etc.
v1.1.0
v1.0.0
Upgrades
- Upgrade Elixir & Erlang tool versions to 1.14.5-otp-25 and 25.3.2, respectively
Features
- Add new required callback
factory/0
- Add new functions
seed/0
&seed/1
that returnDrill.Seed
struct - Require
run/0
callback to always return a list ofDrill.Seed
struct