2013052900-1.8.15-ipv6_in_syslog-f5c2cc0196e9e731.php 292 B

123456789101112
  1. <?php
  2. /**
  3. * Elgg 1.8.15 upgrade 2013052900
  4. * ipv6_in_syslog
  5. *
  6. * Upgrade the ip column in system_log to be able to store ipv6 addresses
  7. */
  8. $db_prefix = elgg_get_config('dbprefix');
  9. $q = "ALTER TABLE {$db_prefix}system_log MODIFY COLUMN ip_address varchar(46) NOT NULL";
  10. update_data($q);