Transfer to git
This commit is contained in:
9
includes/comments_db.sql
Normal file
9
includes/comments_db.sql
Normal file
@@ -0,0 +1,9 @@
|
||||
CREATE TABLE comments (
|
||||
id INT(11) NOT NULL AUTO_INCREMENT,
|
||||
username VARCHAR(255) NOT NULL,
|
||||
content TEXT NOT NULL,
|
||||
date_sent DATETIME DEFAULT CURRENT_TIME,
|
||||
users_id INT(11) NOT NULL,
|
||||
PRIMARY KEY (id),
|
||||
FOREIGN KEY (users_id) REFERENCES users(id) ON DELETE NO ACTION
|
||||
);
|
||||
Reference in New Issue
Block a user