Bug 35639: (RM follow-up) Modernise DB Update
This commit is contained in:
parent
bde8387b32
commit
8f99a5d0c7
1 changed files with 4 additions and 6 deletions
|
@ -7,13 +7,11 @@ return {
|
||||||
my ($args) = @_;
|
my ($args) = @_;
|
||||||
my ( $dbh, $out ) = @$args{qw(dbh out)};
|
my ( $dbh, $out ) = @$args{qw(dbh out)};
|
||||||
|
|
||||||
# Do you stuffs here
|
$dbh->do(
|
||||||
$dbh->do(q{
|
q{
|
||||||
INSERT IGNORE INTO systempreferences (variable,value,options,explanation,type)
|
INSERT IGNORE INTO systempreferences (variable,value,options,explanation,type)
|
||||||
VALUES ('SMSSendMaxChar','','NULL','Add a limit for the number of characters in SMS messages','Integer');
|
VALUES ('SMSSendMaxChar','','NULL','Add a limit for the number of characters in SMS messages','Integer');
|
||||||
});
|
}
|
||||||
|
) == 1 and say_success( $out, "Added new system preference 'SMSSendMaxChar'" );
|
||||||
# sysprefs
|
|
||||||
say $out "Added new system preference 'SMSSendMaxChar'";
|
|
||||||
},
|
},
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in a new issue