Preparing DB for the app - continuation.