code: protected void migrateSchema() {
  
          try {
  
              Connection connection = dataSource.getConnection();
              try {
  
                  beforeSchemaMigration(connection);
  
                  SchemaUpdater updater = new SchemaUpdater(connection, tableName, serializer);
                  if (!updater.doesTableExist()) {
                      updater.migrateToVersion1();
                  }
                  if (updater.isSchemaVersion1()) {
                      updater.migrateToVersion2();
                  }
  
                  afterSchemaMigration(connection);
  
  
              } finally {
                  DbUtils.closeQuietly(connection);
              }
  
          } catch (SQLException e) {
              throw new IllegalStateException("Failed to migrate the database schema", e);
          }
  
      }
docs: Method for creating/migrating the database schema