Schema-per-customer


#1

Any reference (or tip) on how to programmatically create one schema per customer based on a reference Realm db?

Thank you.


#2

@tech If you call a realm open command with a realmURL like:

realm://myServer.com/~/myRealm

Then the tilda in the realmUrl is expanded to the user’s ID on the backend - thus giving them their own separate realm but with the same “myRealm” schema