...
Object type | Check | Description | Example | ||||
---|---|---|---|---|---|---|---|
New table | Check if going to current version of or above | This is not that important since it is only called from current version |
| ||||
New column,view, comment, index, foreign key, etc | Check if going to current version of or above | This is important since the method is called from two places,
|
| ||||
Changed view | This is complicated and requires multiple steps (example in 2.5)
| If you dont create the view with temp name in previous version, then ddlutils wont detect that it needs to drop it | previous version:
building from scratch:
| ||||
Update statement | Check to see if needs to update | You can check by version number or see if you can find the table in the object model (isTableNew) |
|
...