avoid too much restriction on sql schema