Versioned.Schema (Versioned v0.2.0) View Source
Enhances Ecto.Schema modules to track a full history of changes.
Example
defmodule MyApp.Car do
use Versioned.Schema
versioned_schema "cars" do
field :name, :string
has_many :people, MyApp.Person, versioned: true
end
end
Link to this section Summary
Functions
Convert a list of ast lines from the main schema into ast lines to be used for the version schema.
Create a versioned schema.
Link to this section Functions
Convert a list of ast lines from the main schema into ast lines to be used for the version schema.
Create a versioned schema.