[Owncloud] User primary key questions

Daniel Danger owncloud at danger-it.de
Mon Jan 21 19:37:28 UTC 2013


Hi,

just a quick thought: Why don't you use email-address like usernames.
e.g. user1 at location1, user3 at location5, ...

If your instances have different dns entries, you could use that as the
part behind the @.

Cheers
Daniel

Ps.: editing the db-schema is possible, but will most likely fail at
some point or other. Keys are not referenced within the db! (at least
last time I checked)

On 01/21/2013 07:54 PM, Sarah Jones wrote:
> You can only guarantee that the username + location is unique
> (the location would be the instance that the user created their account
> on).  I'm planning on having one instance per city, which is why I call an
> instance a location.



More information about the Owncloud mailing list