add reading db unique constraints