Lines 32-40
return {
Link Here
|
32 |
}); |
32 |
}); |
33 |
|
33 |
|
34 |
# Remove FOREIGN KEY CONSTRAINT |
34 |
# Remove FOREIGN KEY CONSTRAINT |
35 |
$dbh->do(q{ |
35 |
if ( foreign_key_exists( 'reserves', 'reserves_ibfk_4' ) ) { |
36 |
ALTER TABLE reserves DROP FOREIGN KEY reserves_ibfk_4; |
36 |
$dbh->do(q{ |
37 |
}); |
37 |
ALTER TABLE reserves DROP FOREIGN KEY reserves_ibfk_4; |
|
|
38 |
}); |
39 |
} |
40 |
|
38 |
# Set the NOT NULL configuration |
41 |
# Set the NOT NULL configuration |
39 |
$dbh->do(q{ |
42 |
$dbh->do(q{ |
40 |
ALTER TABLE reserves |
43 |
ALTER TABLE reserves |
41 |
- |
|
|