rihanna v0.3.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
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())
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”) […]