blob: 379244b364daeba47ec1b309322084a15b9aa661 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
|
<?php
/**
* Elgg 1.8-svn upgrade 2011031600
* datalist_grows_up
*
* Ups the varchar to 256 for the datalist and config table.
*
* Keeping it as a varchar because of the trailing whitespace trimming it apparently does:
* http://dev.mysql.com/doc/refman/5.0/en/char.html
*/
$db_prefix = elgg_get_config('dbprefix');
$q = "ALTER TABLE {$db_prefix}datalists CHANGE name name VARCHAR(255)";
update_data($q);
$q = "ALTER TABLE {$db_prefix}config CHANGE name name VARCHAR(255)";
update_data($q);
|