Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix #90. Upgrade script: Remove constraint fk_msprost_stock_warehouse…
…id (#91) in addition to fk_msprost_whid before renaming `warehouseid` column. This existence of this foreign key is mysterious. A possibility is a wrong execution order of the update scripts. It is determined from pre and post dependencies (see comments in #90). As the error is far down (out of immediate sight of the updating admin) it may easily go unnoticed. This commit serves as a precaution to prevent fatal consequencies of such early termination of update script(s) (no more scripts are run after the failure).
- Loading branch information