first complete pass of db setup takedown sql