Moved DB creation SQL as part of TeamDB refactor.