Skip to content

Commit 3832e13

Browse files
committedOct 6, 2011
Make the upgrade sub safe for reinstalls.
1 parent 6ed275b commit 3832e13

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed
 

‎docs/upgrades/upgrade_7.10.23-7.10.24.pl

+1-1
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ sub addPALastLogTable {
4343
print "\tAdd a table to keep track of additional Passive Analytics data... " unless $quiet;
4444
# and here's our code
4545
$session->db->write(<<EOSQL);
46-
CREATE TABLE `PA_lastLog` (
46+
CREATE TABLE IF NOT EXISTS `PA_lastLog` (
4747
`userId` char(22) CHARACTER SET utf8 COLLATE utf8_bin NOT NULL,
4848
`assetId` char(22) CHARACTER SET utf8 COLLATE utf8_bin NOT NULL,
4949
`sessionId` char(22) CHARACTER SET utf8 COLLATE utf8_bin NOT NULL,

0 commit comments

Comments
 (0)
Please sign in to comment.