database structure for content types |
Hello,
The best is to have one abstract table 'Content' and some concrete tables 'Article', 'Forum' ... that inherit from 'Content'. If an association involves all Contents, you link it to the table 'Content'. And if an association involves only the Articles, you link it to the table 'Article'. I've created an ORM that manages it: https://github.com/vmoulin78/concorde Vincent |
Messages In This Thread |
database structure for content types - by GHM - 12-07-2019, 07:39 AM
RE: database structure for content types - by jreklund - 12-08-2019, 02:07 AM
RE: database structure for content types - by GHM - 12-08-2019, 04:42 AM
RE: database structure for content types - by vincent78 - 12-08-2019, 05:48 AM
|