001package io.ebeaninternal.dbmigration.ddlgeneration.platform;
002
003import io.ebean.config.DatabaseConfig;
004import io.ebeaninternal.dbmigration.ddlgeneration.DdlWrite;
005import io.ebeaninternal.dbmigration.migration.AddHistoryTable;
006import io.ebeaninternal.dbmigration.migration.DropHistoryTable;
007import io.ebeaninternal.dbmigration.model.MTable;
008
009/**
010 * Default history implementation that does nothing. Needs to be replaced
011 * with an appropriate implementation for the given database platform.
012 */
013public class NoHistorySupportDdl implements PlatformHistoryDdl {
014
015  @Override
016  public void configure(DatabaseConfig config, PlatformDdl platformDdl) {
017    // does nothing
018  }
019
020  @Override
021  public void createWithHistory(DdlWrite writer, MTable table) {
022    // does nothing
023  }
024
025  @Override
026  public void dropHistoryTable(DdlWrite writer, DropHistoryTable dropHistoryTable) {
027    // does nothing
028  }
029
030  @Override
031  public void addHistoryTable(DdlWrite writer, AddHistoryTable addHistoryTable) {
032    // does nothing
033  }
034
035}