Familiar.replace_function
You're seeing just the function
replace_function
, go back to Familiar module for more information.
Replaces a new database function from a function definition file.
This function will use CREATE OR REPLACE FUNCTION
so can only be used if the new
version has the same arguments and return type as the old version.
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