Lines 3879-3884
CREATE TABLE `issues` (
Link Here
|
3879 |
`date_due` datetime DEFAULT NULL COMMENT 'datetime the item is due (yyyy-mm-dd hh:mm::ss)', |
3879 |
`date_due` datetime DEFAULT NULL COMMENT 'datetime the item is due (yyyy-mm-dd hh:mm::ss)', |
3880 |
`branchcode` varchar(10) DEFAULT NULL COMMENT 'foreign key, linking to the branches table for the location the item was checked out', |
3880 |
`branchcode` varchar(10) DEFAULT NULL COMMENT 'foreign key, linking to the branches table for the location the item was checked out', |
3881 |
`returndate` datetime DEFAULT NULL COMMENT 'date the item was returned, will be NULL until moved to old_issues', |
3881 |
`returndate` datetime DEFAULT NULL COMMENT 'date the item was returned, will be NULL until moved to old_issues', |
|
|
3882 |
`return_branch` varchar(10) DEFAULT NULL COMMENT 'foreign key, linking to the branches table for the location the item was returned', |
3882 |
`lastreneweddate` datetime DEFAULT NULL COMMENT 'date the item was last renewed', |
3883 |
`lastreneweddate` datetime DEFAULT NULL COMMENT 'date the item was last renewed', |
3883 |
`renewals_count` tinyint(4) NOT NULL DEFAULT 0 COMMENT 'lists the number of times the item was renewed', |
3884 |
`renewals_count` tinyint(4) NOT NULL DEFAULT 0 COMMENT 'lists the number of times the item was renewed', |
3884 |
`unseen_renewals` tinyint(4) NOT NULL DEFAULT 0 COMMENT 'lists the number of consecutive times the item was renewed without being seen', |
3885 |
`unseen_renewals` tinyint(4) NOT NULL DEFAULT 0 COMMENT 'lists the number of consecutive times the item was renewed without being seen', |
Lines 4881-4886
CREATE TABLE `old_issues` (
Link Here
|
4881 |
`date_due` datetime DEFAULT NULL COMMENT 'date the item is due (yyyy-mm-dd)', |
4882 |
`date_due` datetime DEFAULT NULL COMMENT 'date the item is due (yyyy-mm-dd)', |
4882 |
`branchcode` varchar(10) DEFAULT NULL COMMENT 'foreign key, linking to the branches table for the location the item was checked out', |
4883 |
`branchcode` varchar(10) DEFAULT NULL COMMENT 'foreign key, linking to the branches table for the location the item was checked out', |
4883 |
`returndate` datetime DEFAULT NULL COMMENT 'date the item was returned', |
4884 |
`returndate` datetime DEFAULT NULL COMMENT 'date the item was returned', |
|
|
4885 |
`return_branch` varchar(10) DEFAULT NULL COMMENT 'foreign key, linking to the branches table for the location the item was returned', |
4884 |
`lastreneweddate` datetime DEFAULT NULL COMMENT 'date the item was last renewed', |
4886 |
`lastreneweddate` datetime DEFAULT NULL COMMENT 'date the item was last renewed', |
4885 |
`renewals_count` tinyint(4) NOT NULL DEFAULT 0 COMMENT 'lists the number of times the item was renewed', |
4887 |
`renewals_count` tinyint(4) NOT NULL DEFAULT 0 COMMENT 'lists the number of times the item was renewed', |
4886 |
`unseen_renewals` tinyint(4) NOT NULL DEFAULT 0 COMMENT 'lists the number of consecutive times the item was renewed without being seen', |
4888 |
`unseen_renewals` tinyint(4) NOT NULL DEFAULT 0 COMMENT 'lists the number of consecutive times the item was renewed without being seen', |
4887 |
- |
|
|