How to use unique_index wisely to grasp our business logic
Using the ecto_sql package to demonstrate a use case using unique_index with where to enforce uniqueness only for one status type and grasp a business logic, check it out! 👊
#MyElixirStatus #ElixirLang #Elixir #Erlang
https://dev.to/herminiotorres/how-to-use-uniqueindex-wisely-to-grasp-our-business-logic-109m
Read next Thinking Elixir 178: Safe Ecto Migrations and AI Updates