CREATE TABLE IF NOT EXISTS tags (
	id INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL,
	postid REFERENCES posts(id) ON DELETE CASCADE,
	tag TEXT
);
