Skip to content

Commit

Permalink
reattach post_id: FK
Browse files Browse the repository at this point in the history
  • Loading branch information
mahdihaghverdi committed Apr 28, 2024
1 parent a1c8b5f commit 4869279
Showing 1 changed file with 17 additions and 17 deletions.
34 changes: 17 additions & 17 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -117,23 +117,23 @@ drafts |
| | |
posts | | |
+------+---------------+--------------+--------------+----+ |
| slug | published: DT | draft_id: FK | username: FK | id | |
+------+---------------+--------------+--------------+----+ |
^^ |
+-----------------------------|| |
| |----+ |
association_table | | |
+----+------------+-------------+ | |
| id | tag_id: FK | post_id: FK | | |
+----+------------+-------------+ | |
| | |
| | |
tags | | |
+----+-----+ | | |
| id | tag | <--+ | |
+----+-----+ | |
| |
comments | |
| slug | published: DT | draft_id: FK | username: FK | id | <-+ |
+------+---------------+--------------+--------------+----+ | |
^ | |
+-----------------------------| | |
| | |
association_table | | |
+----+------------+-------------+ | |
| id | tag_id: FK | post_id: FK | | |
+----+------------+-------------+ | |
| | |
| | |
tags | | |
+----+-----+ | | |
| id | tag | <--+ | |
+----+-----+ | |
| |
comments | |
+----+---------+-------------+---------------+---------+-------------+---------------+--------------+
| id | comment | path: LTree | commented: DT | updated | post_id: FK | parent_id: FK | username: FK |
+----+---------+-------------+---------------+---------+-------------+---------------+--------------+
Expand Down

0 comments on commit 4869279

Please sign in to comment.