Simple ruby script to upgrade the database schema and keep track of the latest applied version.