Bug 6716: Document saved_sql table
This commit is contained in:
parent
7b1676895a
commit
98f539f7aa
1 changed files with 9 additions and 9 deletions
|
@ -1710,16 +1710,16 @@ CREATE TABLE `roadtype` ( -- road types defined in administration and used in pa
|
||||||
--
|
--
|
||||||
|
|
||||||
DROP TABLE IF EXISTS `saved_sql`;
|
DROP TABLE IF EXISTS `saved_sql`;
|
||||||
CREATE TABLE saved_sql (
|
CREATE TABLE saved_sql ( -- saved sql reports
|
||||||
`id` int(11) NOT NULL auto_increment,
|
`id` int(11) NOT NULL auto_increment, -- unique id and primary key assigned by Koha
|
||||||
`borrowernumber` int(11) default NULL,
|
`borrowernumber` int(11) default NULL, -- the staff member who created this report (borrowers.borrowernumber)
|
||||||
`date_created` datetime default NULL,
|
`date_created` datetime default NULL, -- the date this report was created
|
||||||
`last_modified` datetime default NULL,
|
`last_modified` datetime default NULL, -- the date this report was last edited
|
||||||
`savedsql` text,
|
`savedsql` text, -- the SQL for this report
|
||||||
`last_run` datetime default NULL,
|
`last_run` datetime default NULL,
|
||||||
`report_name` varchar(255) default NULL,
|
`report_name` varchar(255) default NULL, -- the name of this report
|
||||||
`type` varchar(255) default NULL,
|
`type` varchar(255) default NULL, -- always 1 for tabular
|
||||||
`notes` text,
|
`notes` text, -- the notes or description given to this report
|
||||||
`cache_expiry` int NOT NULL default 300,
|
`cache_expiry` int NOT NULL default 300,
|
||||||
`public` boolean NOT NULL default FALSE,
|
`public` boolean NOT NULL default FALSE,
|
||||||
PRIMARY KEY (`id`),
|
PRIMARY KEY (`id`),
|
||||||
|
|
Loading…
Reference in a new issue