|
Lines 8-14
return {
Link Here
|
| 8 |
my ($dbh, $out) = @$args{qw(dbh out)}; |
8 |
my ($dbh, $out) = @$args{qw(dbh out)}; |
| 9 |
if( !column_exists('article_requests', 'toc_request') ) { |
9 |
if( !column_exists('article_requests', 'toc_request') ) { |
| 10 |
$dbh->do( q| |
10 |
$dbh->do( q| |
| 11 |
ALTER TABLE article_requests ADD COLUMN toc_request tinyint(4) NOT NULL DEFAULT 0 AFTER updated_on |
11 |
ALTER TABLE article_requests ADD COLUMN toc_request tinyint(4) NOT NULL DEFAULT 0 |
|
|
12 |
COMMENT 'borrower requested table of contents' |
| 13 |
AFTER updated_on |
| 12 |
|); |
14 |
|); |
| 13 |
} |
15 |
} |
| 14 |
}, |
16 |
}, |
| 15 |
- |
|
|