Skip to content
Permalink
Browse files

Make the upgrade sub safe for reinstalls.

  • Loading branch information...
perlDreamer committed Oct 6, 2011
1 parent 6ed275b commit 3832e130dc65f34a09d9c63a4b3d7b13b465c118
Showing with 1 addition and 1 deletion.
  1. +1 −1 docs/upgrades/upgrade_7.10.23-7.10.24.pl
@@ -43,7 +43,7 @@ sub addPALastLogTable {
print "\tAdd a table to keep track of additional Passive Analytics data... " unless $quiet;
# and here's our code
$session->db->write(<<EOSQL);
CREATE TABLE `PA_lastLog` (
CREATE TABLE IF NOT EXISTS `PA_lastLog` (
`userId` char(22) CHARACTER SET utf8 COLLATE utf8_bin NOT NULL,
`assetId` char(22) CHARACTER SET utf8 COLLATE utf8_bin NOT NULL,
`sessionId` char(22) CHARACTER SET utf8 COLLATE utf8_bin NOT NULL,

0 comments on commit 3832e13

Please sign in to comment.
You can’t perform that action at this time.