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

knewter
We produced five weeks of free content introducing people to Elixir and the basics of OTP, Ecto, and Phoenix. Today we’re announcing that...
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
New
AlchemistCamp
I’m in the process of doing a series where I build a site for the new podcast I’ve recently started with Justin Vincent of Techzing. It ...
New
remzolotykh
Hi all. I’m new here and kinda new to Elixir and Phoenix, but I love it so much. These days PETAL stack is my favourite way to build apps...
New
calebjosue
I’ve made a video about installing Elixir 1.16.1 on WIndows 11. In case someone is interested here’s the link The video de...
New

Other popular topics Top

New
jononomo
For some reason my phoenix channels are working for me in my local dev environment, but as soon as I deploy via Docker, I get a 403 error...
New
dokuzbir
I want to highlight html closing tags when i click a html tag. That works in .html files but doesnt work for html.eex templates. How can...
New
greenz1
I have a phoenix application from which a user can download multiple(5-6) files of size 1MB. I couldn’t find anything related to sending ...
New
siddhant3030
Hi, I have to write a raw query for one of my project. But till now I have used ecto queries and don’t have much experience writing raw ...
New
jason.o
In the code below, if the create action is not set to accept “extra_key” as an input, it errors out with a message shown above. Is there ...
New

We're in Beta

About us Mission Statement