Fix contraints code example
Update database.md
Merge pull request #187 from neoascetic/patch-2

Fix contraints code example