Lines 13-18
if( CheckVersion( $DBversion ) ) {
Link Here
|
13 |
|); |
13 |
|); |
14 |
|
14 |
|
15 |
$dbh->do(q| |
15 |
$dbh->do(q| |
|
|
16 |
ALTER TABLE class_sort_rules |
17 |
ADD COLUMN split_routine varchar(30) NOT NULL default '' AFTER sort_routine, |
18 |
ADD COLUMN split_regex varchar(255) NOT NULL default '' AFTER split_routine |
19 |
|); |
20 |
$dbh->do(q| |
16 |
ALTER TABLE class_sources |
21 |
ALTER TABLE class_sources |
17 |
ADD COLUMN class_split_rule varchar(10) NOT NULL default '' |
22 |
ADD COLUMN class_split_rule varchar(10) NOT NULL default '' |
18 |
AFTER class_sort_rule |
23 |
AFTER class_sort_rule |
Lines 38-42
if( CheckVersion( $DBversion ) ) {
Link Here
|
38 |
} |
43 |
} |
39 |
|
44 |
|
40 |
SetVersion( $DBversion ); |
45 |
SetVersion( $DBversion ); |
41 |
print "Upgrade to $DBversion done (Bug 15836 - Add class_sort_rules.split_routine and split_regex)\n"; |
46 |
print "Upgrade to $DBversion done (Bug 15836 - Add new table class_split_rules and 2 columns 'split_routine' and 'split_regex' to class_sort_rules)\n"; |
42 |
} |
47 |
} |
43 |
- |
|
|