Created
April 22, 2009 10:52
-
-
Save xaviershay/99716 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Need to build a "waiting list" for registrations. | |
| Thinking about duplicating the table structure, rather than having an 'accepted' flag on the Registration. | |
| This way it's easier to efficiently query stats, without having to worry about joining in registration or including 'accepted' in conditions/indexes. | |
| Should be able to meta-program most of it, so not much extra code. Keeps data clean. | |
| Registration | |
| has N Options | |
| has 1 Thing | |
| ... other things | |
| WaitingList::Registration | |
| has N WaitingList::Options | |
| has 1 WaitingList::Thing | |
| ... other things | |
| Thoughts? Any existing code/libraries to help out? |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment