From c58d374c4f114a6972ad351007d943eba198b479 Mon Sep 17 00:00:00 2001 From: jbranchaud Date: Wed, 1 Feb 2017 14:58:03 -0600 Subject: [PATCH] Add missing link in latest til --- elixir/unique-indexes-with-ecto.md | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/elixir/unique-indexes-with-ecto.md b/elixir/unique-indexes-with-ecto.md index 15baf4b..7880fe6 100644 --- a/elixir/unique-indexes-with-ecto.md +++ b/elixir/unique-indexes-with-ecto.md @@ -1,7 +1,9 @@ # Unique Indexes With Ecto You can create a unique index in a migration for one or more columns using -the [`unique_index/3`] function. +the +[`unique_index/3`](https://hexdocs.pm/ecto/Ecto.Migration.html#unique_index/3) +function. For example, if you are creating a join table for `followers` and want to ensure that duplicate _follower_ entries are prevented, you may want to