Skip to content

Commit

Permalink
Make the upgrade sub safe for reinstalls.
Browse files Browse the repository at this point in the history
  • Loading branch information
perlDreamer committed Oct 6, 2011
1 parent 6ed275b commit 3832e13
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/upgrades/upgrade_7.10.23-7.10.24.pl
Expand Up @@ -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,
Expand Down

0 comments on commit 3832e13

Please sign in to comment.