Updated MySQL schema for bugs after testing