Corys

Corys

Multi Tenancy in Phoenix

I got a new video up on doing multi tenancy in phoenix 1.3 using Apartmentex.

Lemme know if any questions. :grinning:

http://www.schmitty.me/multi-tenancy-in-phoenix/

Most Liked

marciol

marciol

Hi @Corys, great post. I have been working with this kind of approach for some time, but after read a blog post by Influitive, the creators of gem Apartment, which inspired the Apartmentex Hex Package, I started to think if this is the best approach.

After some research I found a new feature in postgreSQL that could be an alternative, Row Security Level, and a great post by 2ndQuadrant

Let us know what do you think.

OvermindDL1

OvermindDL1

Now wha? PostgreSQL finally added RSL? I’ve been wanting that for years! Whoo hoo! I like its implementation!

andre1sk

andre1sk

It’s in since 9.5

Where Next?

Popular in Screencasts Top

omgneering
This is a part of the ongoing elixir OTP series. The video walks through creating an application, talks about application structure and ...
New
aseigo
Elixir1.5.0-rc0 and OTP 20 are significant releases, full of features, bug fixes and optimizations. I was really curious as to how the op...
New
aseigo
Exploring Elixir episode 3, and episode 3 Extra, are both out! In the main episode, we look at the new child_spec/1 function in Elixir 1....
New
Crowdhailer
Tokumei helps with building cloud native web applications. Some of the features that help to make it cloud ready. Containerised by defa...
New
ElixirCasts
I made an episode about deploying with Gigalixir. https://elixircasts.io/deploying-with-gigalixir
New
alvises
Hey friends, I’ve just published a new post and video on LiveView where I show how to build a Gallery app with an automatic slideshow fu...
New
lawik
I’ve been making videos a fair bit and they typically go both on the blog and the YouTube channel. Just released this one which attempts...
New

Other popular topics Top

nobody
Hi! In PHP: $_SERVER[‘SERVER_ADDR’] - in Elixir? Searched the docs for ip address and the web, no good results. Thanks!
New
JakeBecker
TL;DR: I’ve just released an implementation of Microsoft’s IDE-independent Language Server Protocol for Elixir. It adds language support ...
1144 55125 245
New
openscript
Hello! Sorry for this astonishing simple question, but I’m really stuck. I try to set up the intellij-elixir plugin, but I don’t know ho...
New
ashish173
I am using Ecto timestamps with postgres, I can see the timestamps() use the :naive_dateime but for my use case I wanted to store the ti...
New
stefanchrobot
What’s the safe way to decode a JSON string into a struct? I want to avoid calling String.to_atom. Jason.decode can give me a map with st...
New
saif
Hello everyone, Long time lurker first time poster here. I’ve recently begun working on Elixir full-time again! :raised_hands: It’s been...
New

We're in Beta

About us Mission Statement