EctoJob.Migrations.Install (ecto_job v3.1.0) View Source

Defines migrations for installing shared functions

Link to this section Summary

Functions

Drops the fn_notify_inserted trigger function

Creates the fn_notify_inserted trigger function. This function will be called from triggers attached to job queue tables.

Link to this section Functions

Drops the fn_notify_inserted trigger function

Options

  • :prefix - the prefix (aka Postgresql schema) containing the function to remove.
Link to this function

specific_down(arg1, opts)

View Source

Creates the fn_notify_inserted trigger function. This function will be called from triggers attached to job queue tables.

Options

  • :prefix - the prefix (aka Postgresql schema) to create the functions in.