define some kind of "make world" where you build your views from templates and then load the output into the database.
For the record I like maintaining definitions of things in the database outside of it in a filesystem where you can use your standard revision control mechanisms to track things.
Cheers,
Ben