modified sql schema