Familiar.update_function

You're seeing just the function update_function, go back to Familiar module for more information.
Link to this function

update_function(function_name, opts)

View Source

Updates a new database function from a function definition file.

This function will drop the existing function before creating a new function so dependant views, functions, triggers etc will need to be dropped first.

Options:

  • :version - the version of the updated function
  • :revert - the version to revert to if the migration is rolled back
  • :schema - the schema the function lives in. Uses default schema if not specified