Revert "fixes for production deployment"

This reverts commit 51b5cf8cf2dc159d738b3c6194e829232733463c.
migrations need to be fixed.
model fixes for production (no migration fixes)

Signed-off-by: Milosz Wasilewski <milosz.wasilewski@linaro.org>