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