| 46 | |
| 47 | We'll deal with some data outside the new module, such as: |
| 48 | |
| 49 | Received messages are stored in the "message log" table, msg_message.[[BR]] |
| 50 | https://github.com/flavour/eden/blob/master/modules/s3db/msg.py#L93 |
| 51 | |
| 52 | (This is a special kind of table called (in Eden terminology) a "superentity". This is like a superclass |
| 53 | but for database tables. Records in multiple specialized tables have "parent" records in a shared |
| 54 | superentity table, so other tables can refer to any of the specialized tables without needing a foreign |
| 55 | key field for every one, by instead linking to the superentity record. References to ordinary |
| 56 | non-superentity tables are simpler.) |
| 57 | |
| 58 | Workers will sign up for accounts on an Eden site. When they sign up, they will have a record in the |
| 59 | {{{auth_user}}} table and a record in the {{{pr_person}}} table for profile information. Because there |
| 60 | are other things besides people that have addresses and such, there is a superentity for person-like types. |
| 61 | But when we know we're referring to an actual person, we refer to their record in pr_person. |