Added commenting system

This commit is contained in:
Latif Khalifa
2013-10-14 13:52:29 +02:00
parent e9466ce592
commit 54f3b446e6
6 changed files with 1734 additions and 17 deletions

View File

@@ -59,5 +59,14 @@ create table reports(
create table signature(
id integer not null auto_increment primary key,
hash varchar(32) not null unique,
signature text
signature text,
has_comments integer
);
create table comment(
id integer not null auto_increment primary key,
signature_id integer,
user_id integer,
commented timestamp not null default current_timestamp,
comment text
);