Save a view definition as part of a changeset

I want to change the size of a column in a Postgres table.  Unfortunately this table is referenced by a complicated view, and Postgres won’t allow me to change the column without dropping the view first.


I was hoping there was a way to save the definition as part of the changeset so I could recreate it without having to manually copy/paste the view definition into the changeset.  


Thanks

Tony

There is no support in liquibase to save and then recreate a view. There is also not a way to make a new changeSet with a “re-run this changeSet” change. 


If you have the view already defined in your changelog file there isn’t anything built in to have that changeSet re-run. Nathan