sib install command don't take in account symlinked packages
If a SIB package is symlinked and contains local DB migrations, those local migrations are not run using sib install
.
Steps to reproduce:
- create a new SIB project using SIB manager,
-
git clone https://git.happy-dev.fr/startinblox/djangoldp-packages/djangoldp-notifications.git
locally, - change to cloned
djangoldp-notifications
package andgit checkout 18
; this branch contains new DB migrations that are not merged at the time of opening this issue, ln -s djangoldp_notification /path/to/your/sib/djangoldp_notification
- supress the
db.sqlite3
file in your SIB install if necessary, - run `sib install
Expected: djangoldp_notification.0003_auto_20191114_1033.py
should be applied when running sib install
What happens: djangoldp_notification.0003_auto_20191114_1033.py
is not applied. If you run your SIB app and try to log into /admin/
, you should see the following error:
OperationalError at /admin/login/
no such column: djangoldp_notification_subscription.notification_setting