sql namespace seed refactoring