mirror of
https://github.com/Lumither/nocturne.git
synced 2026-10-17 10:26:21 +00:00
13 lines
178 B
SQL
13 lines
178 B
SQL
CREATE TABLE IF NOT EXISTS Tag
|
|
(
|
|
post_id UUID NOT NULL,
|
|
tag VARCHAR(255) NOT NULL
|
|
);
|
|
|
|
INSERT INTO Tag
|
|
VALUES ($1, $2);
|
|
|
|
SELECT *
|
|
FROM Tag
|
|
WHERE post_id = $1;
|