lawik

lawik

Nerves Core Team

Ecto & Multi-tenancy - Dynamic Repos - Getting started

I gave a shot at summarizing some of what I’ve picked up while setting up dynamic repos with Ecto for a project. I expect to write more on this as I went to significantly more depth. But since the writing was a bit thin on the subject as it stood I wanted to get the basics summarized and out there.

I hope it will be useful to people :slight_smile:
Thanks to Jose for clearing up some stuff I ended up bringing up in issues.

First Post!

treble37

treble37

Thanks for sharing, this sounds interesting, can’t wait to see more :+1:

Most Liked

riebeekn

riebeekn

Have you had a look at Triplex yet? At my current job we’re using it to create schemas at run time, it’s worked great so far and has a very simple / easy to understand API, highly recommend checking it out to see if it meets your requirements.

kelvinst

kelvinst

Hey! Triplex creator here. Your post is pretty nice! When I get time I will investigate on using that kind of dynamic repos with triplex, I suppose both probably could work well together.

Last Post!

lawik

lawik

Nerves Core Team

Cool, good to see more peoole who’ve dug into this :slight_smile:

Where Next?

Popular in Guides/Tuts Top

benwilson512
Correct if me I’m wrong, as best I can tell there aren’t any reasons to use mix run --no-halt in production vs releases. The marginal val...
New
AstonJ
This blog post hit my timeline earlier, and I’ve also been learning about some fantastic Elixir related tips via @pragdave’s new online c...
New
pel_daniel
Hi! I created some animations to explain what happens internally with map & reduce functions. The code is open source. Any feedback...
New
marcelo
I wrote a small article on how to use current_user with coherence on Phoenix. There are already a couple of blogposts about it but I thin...
New
siever
I just wrote a simple guide on how you can setup a productive elixir development environment in vim. Its really easy, just a few steps. ...
New
dkuhlman
For those of you who might be interested in using ZeroMQ in Elixir, I converted the Erlang examples in the ZeroMQ “zguide” to Elixir. I ...
New
sergio
I couldn’t find any guides that worked well with Phoenix 1.6.0 and esbuild. I hope this helps people test the waters and eases you into t...
New

Other popular topics Top

Qqwy
Update: How to use the Blogs & Podcasts section You can post links to your blog posts or podcasts either in one of the Official Blog...
3271 131117 1222
New
Brian
What is the proper way to load a module from a file in to IEX? In the python world, doing something like this pretty standard: from ....
New
joeerl
Hello again - after a longish gap I’ve decided I really must dig into Elixir and see what’s been happening here - so I have a few questio...
New
dogweather
I wrote this comment on r/haskell, and it’s not popular there. :wink: But I think I’m on to something… Haskell reminds me of Java, and e...
New
TunkShif
This post is an instruction guide to help you setup your Neovim for Elixir development from scratch. It includes general information on h...
274 42716 114
New
sergio
Kind of like when jquery came out, it was super necessary. Existing drag and drop libraries have a bunch of baggage to support old browse...
New

We're in Beta

About us Mission Statement