First cut backend sql schema