aboutsummaryrefslogtreecommitdiff
path: root/engine/lib/upgrades/2012012000-1.8.3-ip_in_syslog-87fe0f068cf62428.php
blob: b9514e156314548aba933a5be21bd6a963f5677d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
<?php
/**
 * Elgg 1.8.3 upgrade 2012012000
 * ip_in_syslog
 *
 * Adds a field for an IP address in the system log table
 */

$db_prefix = elgg_get_config('dbprefix');
$q = "ALTER TABLE {$db_prefix}system_log ADD ip_address VARCHAR(15) NOT NULL AFTER time_created";

update_data($q);