# Elixir Blog Posts

**URL:** <https://forum.elixirforum.com/t/elixir-blog-posts/150>\
**Category:** Blog Posts\
**Tags:** blog-posts, wiki, stickies, official-blog-posts-thread\
**Created:** [April 30, 2017, 11:00pm UTC](https://forum.elixirforum.com/t/elixir-blog-posts/150 "2017-04-30T23:00:00Z")\
**Posts on this page:** 1\
**Showing post:** 1251

<div class="post-metadata">

**Author:** ![travisf](https://forum.elixirforum.com/user_avatar/forum.elixirforum.com/travisf/32/18564_2.png) [@travisf](https://forum.elixirforum.com/u/travisf)\
**Post date:** [June 4, 2025, 1:34pm UTC](https://forum.elixirforum.com/t/elixir-blog-posts/150/1251 "2025-06-04T13:34:11Z")

</div>

Last summer I migrated 4 year old production app to a multi-tenant architecture. After I finished the project I wrote up my thoughts but sat on it forever (I struggle to proof-read). This is the post on how we used `Ecto.Repo` behaviours such as `prepare_query/3` to provide customers subdomains and tenancy via Postgres schemas. I’d be interested in hearing your feedback:

[https://travisfantina.com/blog/multi-tenancy-with-phoenix-and-elixir/](https://travisfantina.com/blog/multi-tenancy-with-phoenix-and-elixir/)

(website is an ongoing work in progress lol)

---

_[View the full topic](https://forum.elixirforum.com/t/elixir-blog-posts/150)._
