Skip to content

Commit

Permalink
Add exception_class to schema
Browse files Browse the repository at this point in the history
  • Loading branch information
nohponex committed Jan 6, 2016
1 parent 0fc740f commit 2face92
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
1 change: 1 addition & 0 deletions database/schema.mysql.sql
Original file line number Diff line number Diff line change
Expand Up @@ -30,5 +30,6 @@ CREATE TABLE IF NOT EXISTS `query_log` (
`call_trace` text COMMENT 'JSON encoded string',
`user_id` varchar(128) DEFAULT NULL COMMENT 'The id of user if the request was authenticated',
`exception` text NULL DEFAULT NULL COMMENT 'serialized exception object',
`exception_class` varchar(1024) DEFAULT NULL,
PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 AUTO_INCREMENT=1 ;
3 changes: 2 additions & 1 deletion database/schema.postgresql.sql
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,8 @@ CREATE TABLE query_log (
call_trace json,
user_id bigint,
user_uuid text,
exception text
exception text,
exception_class character varying(1024) DEFAULT NULL::character varying
);

--
Expand Down

0 comments on commit 2face92

Please sign in to comment.