# - #4 : the developer version. The 4th number is the database subversion.
# used by developers when the database changes. updatedatabase take care of the changes itself
# and is automatically called by Auth.pm when needed.
-$VERSION = "16.06.00.013";
+$VERSION = "16.06.00.014";
sub version {
return $VERSION;
+++ /dev/null
-ALTER TABLE `action_logs` ADD COLUMN `interface` VARCHAR(30) DEFAULT NULL AFTER `info`;
-ALTER TABLE `action_logs` ADD KEY `interface` (`interface`);
-
--- $DBversion = "16.06.00.XXX";
--- if ( CheckVersion($DBversion) ) {
--- $dbh->do(q{
--- ALTER TABLE `action_logs` ADD COLUMN `interface` VARCHAR(30) DEFAULT NULL AFTER `info`;
--- });
--- $dbh->do({
--- ALTER TABLE `action_logs` ADD KEY `interface` (`interface`);
--- });
--- print "Upgrade to $DBversion done (Bug 16829: action_logs should have an 'interface' column)\n";
--- SetVersion($DBversion);
--- }
SetVersion($DBversion);
}
+$DBversion = "16.06.00.014";
+if ( CheckVersion($DBversion) ) {
+ $dbh->do(q{
+ ALTER TABLE `action_logs` ADD COLUMN `interface` VARCHAR(30) DEFAULT NULL AFTER `info`;
+ });
+
+ $dbh->do(q{
+ ALTER TABLE `action_logs` ADD KEY `interface` (`interface`);
+ });
+
+ print "Upgrade to $DBversion done (Bug 16829: action_logs should have an 'interface' column)\n";
+ SetVersion($DBversion);
+}
+
# DEVELOPER PROCESS, search for anything to execute in the db_update directory
# SEE bug 13068
# if there is anything in the atomicupdate, read and execute it.