I'm interested what is the difference between CLI migration script call and my app's migration call. Why CLI works well, but my shows "A table in the database is locked (database table is locked)". It seems I'm doing something a bit different or wrong.