Package | Description |
---|---|
net.akaish.kitty.orm.util |
Modifier and Type | Field and Description |
---|---|
(package private) java.util.ArrayList<KittySimpleMigrationScriptGenerator.DiffElement> |
KittySimpleMigrationScriptGenerator.GeneratedDiffResult.diffs |
Modifier and Type | Method and Description |
---|---|
java.util.LinkedList<KittySQLiteQuery> |
KittySimpleMigrationScriptGenerator.generateAlterTableWithNewColumns(KittySimpleMigrationScriptGenerator.DiffElement element,
java.util.HashMap<java.lang.String,KittyTableConfiguration> newTables,
java.lang.String schemaName)
Returns alter table add columns query sequence
|
java.util.LinkedList<KittySQLiteQuery> |
KittySimpleMigrationScriptGenerator.generateAlterTableWithRedundantColumns(KittyTableConfiguration conf,
KittySimpleMigrationScriptGenerator.DiffElement element)
Generates query sequence that doing following things:
Renames current existing table to new name Creates new table without redundant columns Copies fields same fields from old table to new one Wipes old table |
Constructor and Description |
---|
GeneratedDiffResult(java.util.ArrayList<KittySimpleMigrationScriptGenerator.DiffElement> diffs,
java.util.HashMap<java.lang.String,KittyTableConfiguration> tables,
java.util.HashMap<java.lang.String,Index> indexes) |