Make the upgrade sub safe for reinstalls.
This commit is contained in:
parent
6ed275b133
commit
3832e130dc
1 changed files with 1 additions and 1 deletions
|
|
@ -43,7 +43,7 @@ sub addPALastLogTable {
|
||||||
print "\tAdd a table to keep track of additional Passive Analytics data... " unless $quiet;
|
print "\tAdd a table to keep track of additional Passive Analytics data... " unless $quiet;
|
||||||
# and here's our code
|
# and here's our code
|
||||||
$session->db->write(<<EOSQL);
|
$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,
|
`userId` char(22) CHARACTER SET utf8 COLLATE utf8_bin NOT NULL,
|
||||||
`assetId` 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,
|
`sessionId` char(22) CHARACTER SET utf8 COLLATE utf8_bin NOT NULL,
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue