D
D
DarkByte20152018-07-13 14:33:43
SQL
DarkByte2015, 2018-07-13 14:33:43

Naming problem?

There is a table - a catalog of magazines (not in the sense of history, but magazines in which information is published). This table contains only the titles of these journals, links, etc. For example, the structure is Journal(id, name, url). And there is another journal table like this ArticleJournal(journal_id, article_id, issue, part, pages). Those. the journal_id in it links it to that first table, and the article_id to the article. I can’t figure out how to properly name these two tables / models. Those. not to write then $article->getJournal()->getJournal() - stupid somehow.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
E
EVGENY T., 2018-07-13
@DarkByte2015

I suggest Journal and Issue. Or Journal and Publication.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question