code: def run_migration(name, major_version, minor_version, db, mod, conf={}):
      
      with db.transaction():
          mod.up(db, conf)
          set_version(db, name, major_version, minor_version)
docs: Run migration script
  
      :param major_version: major version number of the migration
      :param minor_version: minor version number of the migration
      :param db:            database connection object
      :param path:          path of the migration script
      :param conf:          application configuration (if any)