Ma-Kas / kansaibeyond

Monorepo for a blog and travel website, consisting of frontend, backend, and headless cms.
https://www.kansaibeyond.com
0 stars 0 forks source link

Blogs + Categories table change to a many-to-many relationship? #30

Closed Ma-Kas closed 6 months ago

Ma-Kas commented 7 months ago

PRO: Would enable blogs to have more than one category. CON: Extra join table and more joins when querying

Ma-Kas commented 7 months ago

Yes, owner wants this to be implemented. Do it!

Ma-Kas commented 7 months ago

Would be a good idea to limit number of categories a blog can belong to.

Ma-Kas commented 6 months ago

Implementation test a post request to posts api with different data; Create multiple entries in junction table to verify