Interface IScriptBuilder
- All Known Implementing Classes:
AbstractScriptBuilder,ChScriptBuilder,MsScriptBuilder,PgScriptBuilder
public interface IScriptBuilder
Interface for script builder
-
Method Summary
Modifier and TypeMethodDescriptioncreateScript(TreeElement root, IDatabase oldDb, IDatabase newDb) Gets selected elements from root, compares them between source and target and generates a migration script.
-
Method Details
-
createScript
Gets selected elements from root, compares them between source and target and generates a migration script.- Parameters:
root- the root of the diff treeoldDb- the source database schemanewDb- the target database schema- Returns:
- SQL migration script
- Throws:
IOException- if an I/O error occurs
-