schema "users" do field :name, :string timestamps() end
def init(default), do: default
No existing solution provides a for Ecto’s entire lifecycle. uni ecto plugin
One important note: Ecto's unique constraint functionality does work with the default SQLite3 database adapter. You'll need to use the ecto3_sqlite3 adapter for proper support. schema "users" do field :name, :string timestamps() end