aboutsummaryrefslogtreecommitdiff
path: root/engine/lib/upgrades/2013052900-1.8.15-ipv6_in_syslog-f5c2cc0196e9e731.php
blob: d333a6cd2aab53b4c14dd3093ee96d2288f59ee2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
<?php
/**
 * Elgg 1.8.15 upgrade 2013052900
 * ipv6_in_syslog
 *
 * Upgrade the ip column in system_log to be able to store ipv6 addresses
 */

$db_prefix = elgg_get_config('dbprefix');
$q = "ALTER TABLE {$db_prefix}system_log MODIFY COLUMN ip_address varchar(46) NOT NULL";

update_data($q);