mysql schema refactor
Current work checkpoint. See diff for details.