1
0
mirror of https://git.tt-rss.org/git/tt-rss.git synced 2025-12-29 16:51:28 +00:00

experimental SQL-based error logger

This commit is contained in:
Andrew Dolgov
2013-04-16 19:41:31 +04:00
parent 4f032700db
commit 889a5f9f19
9 changed files with 177 additions and 5 deletions

View File

@@ -0,0 +1,16 @@
begin;
create table ttrss_error_log(
id integer not null auto_increment primary key,
owner_uid integer,
errno integer not null,
errstr text not null,
filename text not null,
lineno integer not null,
context text not null,
created_at datetime not null,
foreign key (owner_uid) references ttrss_users(id) ON DELETE SET NULL) ENGINE=InnoDB DEFAULT CHARSET=UTF8;
update ttrss_version set schema_version = 118;
commit;