title: How can I perform version control of Procedures, Views, and Functions in Postgres sql
body: <p>I want to do a versioning control of my database.</p>
  
  <p>I currently control my front-end applications through git, however I am creating my database and would like to have a versioning of my tables, function and procedures, how can I accomplish this for database?
  That is, I will make a change in a function but I would like to save the previous one I was executing in case there is any problem I can put the previous one again.</p>