Invoke database migration from database constructor.