1
0
mirror of https://git.tt-rss.org/git/tt-rss.git synced 2025-12-13 05:25:56 +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

@@ -1,3 +1,4 @@
drop table if exists ttrss_error_log;
drop table if exists ttrss_plugin_storage;
drop table if exists ttrss_linked_feeds;
drop table if exists ttrss_linked_instances;
@@ -257,7 +258,7 @@ create index ttrss_tags_post_int_id_idx on ttrss_tags(post_int_id);
create table ttrss_version (schema_version int not null);
insert into ttrss_version values (117);
insert into ttrss_version values (118);
create table ttrss_enclosures (id serial not null primary key,
content_url text not null,
@@ -421,4 +422,14 @@ create table ttrss_plugin_storage (
owner_uid integer not null references ttrss_users(id) ON DELETE CASCADE,
content text not null);
create table ttrss_error_log(
id serial not null primary key,
owner_uid integer references ttrss_users(id) ON DELETE SET NULL,
errno integer not null,
errstr text not null,
filename text not null,
lineno integer not null,
context text not null,
created_at timestamp not null);
commit;