post_tags
Data license: CC-BY
3 rows where post_id = 2610
This data as json, CSV (advanced)
Suggested facets: createdAt (date)
Link | post_id | tag_id | createdAt | updatedAt |
---|---|---|---|---|
2610,1510 | Military Personnel and Spending 2610 | Violence and War 1510 | 2023-10-12 10:17:58 | |
2610,1640 | Military Personnel and Spending 2610 | Entries 1640 | 2023-10-12 10:17:58 | |
2610,1826 | Military Personnel and Spending 2610 | Military Personnel & Spending 1826 | 2023-10-12 10:17:58 |
Advanced export
JSON shape: default, array, newline-delimited, object
CREATE TABLE "post_tags" ( "post_id" INTEGER NOT NULL , "tag_id" INTEGER NOT NULL , "createdAt" DATETIME NOT NULL DEFAULT CURRENT_TIMESTAMP , "updatedAt" DATETIME NULL , PRIMARY KEY ("post_id", "tag_id"), FOREIGN KEY("post_id") REFERENCES "posts" ("id") ON UPDATE RESTRICT ON DELETE CASCADE, FOREIGN KEY("tag_id") REFERENCES "tags" ("id") ON UPDATE RESTRICT ON DELETE CASCADE ); CREATE INDEX "FK_post_tags_tag_id" ON "post_tags" ("tag_id");