Report parser complete

This commit is contained in:
Latif Khalifa
2013-10-04 03:47:59 +02:00
parent 483c845a27
commit a7d294b3c0
5 changed files with 318 additions and 2 deletions

View File

@@ -1,3 +1,4 @@
drop table if exists reports;
drop table if exists raw_reports;
drop table if exists users;
drop table if exists options;
@@ -31,4 +32,25 @@ create table raw_reports(
reported timestamp not null default current_timestamp,
processed integer not null default 0,
raw_data longtext
);
create table reports(
id integer not null primary key,
reported timestamp,
client_version varchar(32),
client_channel varchar(32),
os varchar(128),
os_type varchar(32),
os_version varchar(128),
cpu varchar(128),
gpu varchar(128),
opengl_version varchar(128),
gpu_driver varchar(128),
ram integer,
grid varchar(128),
region varchar(128),
crash_reason varchar(128),
crash_address varchar(16),
crash_thread integer,
raw_stacktrace text
);