StopClickBait / SCB-Backend

Backend
8 stars 7 forks source link

Populate ArticleTags model #18

Closed chriscasto closed 7 years ago

chriscasto commented 7 years ago

The ArticleTags model exists but is currently unpopulated. Copying from a previous post by le3bl, this is what it should look like:

articleTags id - int - incrementing - unsigned - primary key (indexed) tagId - int - unsigned - foreign key -> Tags.Id - indexed articleId - int - unsigned - foreign key -> Articles.Id - indexed userId - int - unsigned - foreign key -> Users.Id - indexed createdDate - datetime