Bug 15504: (QA follow-up) Fix dbrev
Resolve: ERROR - {UNKNOWN}: DBI Exception: DBD::mysql::db do failed: Unknown column 'check_out' in 'field list' at /usr/share/koha/C4/Installer.pm line 741 Test plan: Remove new pref from db. Run dbrev again. Check results. Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl> Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
This commit is contained in:
parent
b46b614b6c
commit
7a91be1814
1 changed files with 2 additions and 1 deletions
|
@ -14,7 +14,8 @@ return {
|
|||
|
||||
my $triggers = $tracklastactivity ? 'check_out,connection,login' : '';
|
||||
$dbh->do(
|
||||
qq{INSERT IGNORE INTO systempreferences (variable,value,options,explanation,type) VALUES ('TrackLastPatronActivityTriggers',$triggers,NULL,'If set, the field borrowers.lastseen will be updated every time a patron is does a selected option','multiple') }
|
||||
qq{INSERT IGNORE INTO systempreferences (variable,value,options,explanation,type) VALUES ('TrackLastPatronActivityTriggers',?,NULL,'If set, the field borrowers.lastseen will be updated every time a patron is does a selected option','multiple') },
|
||||
undef, $triggers,
|
||||
);
|
||||
|
||||
say $out "Added system preference 'TrackLastPatronActivityTriggers'";
|
||||
|
|
Loading…
Reference in a new issue