I am trying to update a project where a deployment script is dependent on Security package version 5.3.1 (before IsInitalScreen database field was introduced).
Anyway the whole Security deployment is performed until version 5.4 so all my scripts which did not include this field fail.
This was exactly the reason to introduce package version dependencies on the deployment scripts, so deployments would be ordered in the way they were introduced in between package version switches.
This was discusewd on the weekly meating. If the Architect detects the situation when there is a new package in the model it will offer the user an option to run the deployment scripts of this package without any dependency checks. If the deploymnet scripts fail, the user will have to figure out where the problem is an tweak the scripts.
Note: This should only be a problem for the developer in Architect right after adding a package because old scripts already ran. It would not be a problem when creating a new database as the scripts would run in the correct order. The solution is to “try” to run the scripts without dependency checks (but they may fail as some old scripts could depend on database structures that no longer exist). If this does not work, the best would be to just create a database from scratch or to fix the scripts in the way that they would run well.