Merge branch 'refactor/db-not-null-constraints-for-apps' into 'develop'