verex v0.1.2 API Reference
Modules
This is a simple versioning library for Phoenix. Rather than only versioning changes or
old inactive versions, this library allows for a full history of your modules. Verex does not use an independent
‘versions’ table, but incorporates the full history into the modules existing table. Verex makes use of
a current_flag
in the repo to flag an entry as active. It also makes use of a parent_id
to allow for simple traversing
of an entries history.
By keeping a full history, Verex allows for associations with other modules on ‘un-active’ records
Verex.Repo performs all the Repo transactions. Prior to any repo transactions, alterations to the changeset are made to allow for proper versioning