Familiar.update_view
You're seeing just the function
update_view
, go back to Familiar module for more information.
Updates a database view from a view definition file.
This function will drop the existing view and then create the new version of the view so dependant views, functions, triggers etc will need to be dropped first.
Options:
:version
- the version of the updated view:materialized
- whether the view is materialized or not. Defaults tofalse
.:revert
- the version to revert to if the migration is rolled back:schema
- the schema the view lives in. Uses default schema if not specified