CREATE TABLE IF NOT EXISTS comments ( id INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, postid REFERENCES posts(id) ON DELETE CASCADE, author REFERENCES authors(id) ON DELETE CASCADE, isanon INTEGER, comment_text TEXT, hashedip BLOB, post_time INTEGER );