package io.airbyte.db.instance.<db-name>.migrations;

import org.flywaydb.core.api.migration.BaseJavaMigration;
import org.flywaydb.core.api.migration.Context;
import org.jooq.DSLContext;
import org.jooq.impl.DSL;

// TODO: update migration description in the class name
public class V<version-id>__<description> extends BaseJavaMigration {

  @Override
  public void migrate(Context context) throws Exception {
    // Warning: please do not use any jOOQ generated code to write a migration.
    // As database schema changes, the generated jOOQ code can be deprecated. So
    // old migration may not compile if there is any generated code.
    DSLContext ctx = DSL.using(context.getConnection());
  }

}
