05-27-2016, 01:37 PM
That makes perfect sense to me. Tying to a domain is just as easy as a domain id in some ways, the only thing I'd consider with using the id itself is that you may want to consider that in my company, we have email addresses with 4 different domains even though we are technically the same organization.
Secondly, if you create something like a company table in the database, your first column would/should be an autoincremented id. These are EXTREMELY useful for linking other things together and userspice has tools built in to take advantage of ids that would get a little goofy if you tried to do some of the same things with arbitrary text.
Just a thought.
Carry on. We're here to help if you need it.
Secondly, if you create something like a company table in the database, your first column would/should be an autoincremented id. These are EXTREMELY useful for linking other things together and userspice has tools built in to take advantage of ids that would get a little goofy if you tried to do some of the same things with arbitrary text.
Just a thought.
Carry on. We're here to help if you need it.