added constraint text
saving to db works
merge fix