Lines 1710-1725
CREATE TABLE `roadtype` ( -- road types defined in administration and used in pa
Link Here
|
1710 |
-- |
1710 |
-- |
1711 |
|
1711 |
|
1712 |
DROP TABLE IF EXISTS `saved_sql`; |
1712 |
DROP TABLE IF EXISTS `saved_sql`; |
1713 |
CREATE TABLE saved_sql ( |
1713 |
CREATE TABLE saved_sql ( -- saved sql reports |
1714 |
`id` int(11) NOT NULL auto_increment, |
1714 |
`id` int(11) NOT NULL auto_increment, -- unique id and primary key assigned by Koha |
1715 |
`borrowernumber` int(11) default NULL, |
1715 |
`borrowernumber` int(11) default NULL, -- the staff member who created this report (borrowers.borrowernumber) |
1716 |
`date_created` datetime default NULL, |
1716 |
`date_created` datetime default NULL, -- the date this report was created |
1717 |
`last_modified` datetime default NULL, |
1717 |
`last_modified` datetime default NULL, -- the date this report was last edited |
1718 |
`savedsql` text, |
1718 |
`savedsql` text, -- the SQL for this report |
1719 |
`last_run` datetime default NULL, |
1719 |
`last_run` datetime default NULL, |
1720 |
`report_name` varchar(255) default NULL, |
1720 |
`report_name` varchar(255) default NULL, -- the name of this report |
1721 |
`type` varchar(255) default NULL, |
1721 |
`type` varchar(255) default NULL, -- always 1 for tabular |
1722 |
`notes` text, |
1722 |
`notes` text, -- the notes or description given to this report |
1723 |
`cache_expiry` int NOT NULL default 300, |
1723 |
`cache_expiry` int NOT NULL default 300, |
1724 |
`public` boolean NOT NULL default FALSE, |
1724 |
`public` boolean NOT NULL default FALSE, |
1725 |
PRIMARY KEY (`id`), |
1725 |
PRIMARY KEY (`id`), |
1726 |
- |
|
|