Add creation of posts with logging
This commit is contained in:
parent
56544cd0d4
commit
4948195495
13 changed files with 379 additions and 97 deletions
|
@ -0,0 +1 @@
|
|||
DROP TABLE posts;
|
|
@ -0,0 +1,10 @@
|
|||
CREATE TABLE posts (
|
||||
id INTEGER NOT NULL PRIMARY KEY,
|
||||
parent INTEGER,
|
||||
timestamp DATETIME NOT NULL,
|
||||
author VARCHAR NOT NULL,
|
||||
email VARCHAR NOT NULL,
|
||||
title VARCHAR NOT NULL,
|
||||
content VARCHAR NOT NULL,
|
||||
FOREIGN KEY (parent) REFERENCES posts(id)
|
||||
);
|
Loading…
Add table
Add a link
Reference in a new issue