3 ms·
I use this for internal items, as in: real customer IDs start at 10,000, so we have 9,999 possible users/invoices/whatever for our own usage in the database. Th
by 9dev 5y ago
I use this for internal items, as in: real customer IDs start at 10,000, so we have 9,999 possible users/invoices/whatever for our own usage in the database. That makes it easy to filter demo accounts of your sales employees, or production test accounts, in queries: just add an offset.
Re: the upper bound: if you reach a million customers, you have lots of other nice problems, like how to spend all the money they earn you :-)
- gavinray 5y agoThis is clever. You could use "is_test_account" or whatnot, but that adds an unnecessary column (for ~99% of records) I like this -- will keep it in mind!