mirror of
https://github.com/slawkens/myaac.git
synced 2025-04-26 17:29:21 +02:00
7 lines
325 B
PHP
7 lines
325 B
PHP
<?php
|
|
// Increase size of ip in myaac_visitors table
|
|
// according to this answer: https://stackoverflow.com/questions/166132/maximum-length-of-the-textual-representation-of-an-ipv6-address
|
|
// the size of ipv6 can be maximal 45 chars
|
|
|
|
$db->exec('ALTER TABLE `' . TABLE_PREFIX . "visitors` MODIFY `ip` VARCHAR(45) NOT NULL;");
|