/* Tags on a post A post's tags are deleted if the post is deleted. */ /* dot -Tsvg @name db/schema/tags digraph tags { tags [ shape="plaintext" label=<
tags | ||
PK | id | INT, AUTOINCREMENT, NOT NULL |
FK | postid | ON DELETE CASCADE |
tag | TEXT |
posts | ||
PK | id | INT, AUTOINCREMENT, NOT NULL |
... |