rihanna v0.4.0 Rihanna.Migration

TODO: Write something here…

Link to this section Summary

Functions

TODO: using with Ecto

Returns a list of SQL statements that will create the Rihanna jobs table if executed sequentially

Link to this section Functions

Link to this macro __using__(opts) (macro)

TODO: using with Ecto…

Link to this function sql(table_name \\ Rihanna.Config.jobs_table_name())
Link to this function statements(table_name \\ Rihanna.Config.jobs_table_name())
statements(String.t() | atom()) :: list(list(), String.t())

Returns a list of SQL statements that will create the Rihanna jobs table if executed sequentially.

By default it takes the name of the table from the application config.

You may optionally supply a table name as an argument if you want to override this.

Examples

iex> Rihanna.Migration.statements […]

iex> Rihanna.Migration.statements(“my_alternative_table_name”) […]