io.ebeaninternal.dbmigration.model.ModelDiff Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of ebean-ddl-generator Show documentation
Show all versions of ebean-ddl-generator Show documentation
DDL and DB Migration generation
package io.ebeaninternal.dbmigration.model;
import io.ebeaninternal.dbmigration.ddlgeneration.platform.DdlHelp;
import io.ebeaninternal.dbmigration.migration.*;
import java.util.ArrayList;
import java.util.List;
import java.util.Map;
import java.util.Set;
/**
* Used to prepare a diff in terms of changes required to migrate from
* the base model to the newer model.
*/
public class ModelDiff {
/**
* The base model to which we compare the newer model.
*/
private final ModelContainer baseModel;
/**
* List of 'create' type changes.
*/
private final List