Shared helpers for DripDrop Mix tasks.
Summary
Functions
Returns the migrations directory for a repo.
Returns the repo priv path, defaulting to priv/repo.
Resolves the Ecto repo supplied to a Mix task or configured for the app.
Checks whether a DripDrop setup migration already exists.
Returns a UTC migration timestamp.
Functions
Returns the migrations directory for a repo.
Returns the repo priv path, defaulting to priv/repo.
Resolves the Ecto repo supplied to a Mix task or configured for the app.
Checks whether a DripDrop setup migration already exists.
@spec timestamp() :: String.t()
Returns a UTC migration timestamp.