-
Notifications
You must be signed in to change notification settings - Fork 29
Closed
Description
I've been using Apartmentex for a bit and I've been loving how it's practically just a simple wrapper around Repo + sugar.
Something that I'm interested in is a DB dump of tenant migrations. This way when you create a new tenant, instead of running migration after migration, you can instead load up some SQL and get the signup process finished earlier.
Perhaps something like a mix ecto.apartment_dump. I could set up a dummy apartment tenant with no prefix (this way it doesn't conflict in case an "apartment" tenant signs up). Then treat it as a normal tenant when you run migrations. Post migrations, a DB dump could get run for just that search path on development to be committed.
Thoughts?
Metadata
Metadata
Assignees
Labels
No labels