<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Validations on Scholion</title><link>https://scholion.thluiz.com/tags/validations/</link><description>Recent content in Validations on Scholion</description><generator>Hugo -- gohugo.io</generator><language>pt-BR</language><copyright>© 2026</copyright><lastBuildDate>Wed, 30 Mar 2016 14:48:17 -0300</lastBuildDate><atom:link href="https://scholion.thluiz.com/tags/validations/index.xml" rel="self" type="application/rss+xml"/><item><title>When to Use Constraints in Ecto</title><link>https://scholion.thluiz.com/notes/when-to-use-constraints-in-ecto/</link><pubDate>Wed, 30 Mar 2016 14:48:17 -0300</pubDate><guid>https://scholion.thluiz.com/notes/when-to-use-constraints-in-ecto/</guid><description>The post explains when Ecto validations are enough and when database constraints are needed, showing that constraints give stronger guarantees for uniqueness, ordering, and overlap, but can reduce flexibility and user experience.</description></item></channel></rss>