ecto_job v2.1.0 EctoJob.Migrations.Install 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
Link to this function
down(opts \\ []) View Source
Drops the fn_notify_inserted
trigger function
Options
:prefix
- the prefix (aka Postgresql schema) containing the function to remove.
Link to this function
up(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.