haha - I'm answering my own question again :P
Heres a solution that worked for me :
$editor->alter_col('PartOfAffiliate', {
type => 'CHAR',
size => '255',
form_names => 'test
test2
test3',
form_values => 'test
test2
test3'
}) || die $GT::SQL::error;
Basically, the "type" and "size" had to be passed in too, rather than only the changes I wanted done.
Just thought I would share, in case anyone else comes across the same problems in the future
Cheers
Andy (mod)
andy@ultranerds.co.uk
Want to give me something back for my help? Please see my Amazon Wish List
GLinks ULTRA Package | GLinks ULTRA Package PRO
Links SQL Plugins | Website Design and SEO | UltraNerds | ULTRAGLobals Plugin | Pre-Made Template Sets | FREE GLinks Plugins!
Heres a solution that worked for me :
Code:
my $editor = $DB->editor('Links'); $editor->alter_col('PartOfAffiliate', {
type => 'CHAR',
size => '255',
form_names => 'test
test2
test3',
form_values => 'test
test2
test3'
}) || die $GT::SQL::error;
Basically, the "type" and "size" had to be passed in too, rather than only the changes I wanted done.
Just thought I would share, in case anyone else comes across the same problems in the future
Cheers
Andy (mod)
andy@ultranerds.co.uk
Want to give me something back for my help? Please see my Amazon Wish List
GLinks ULTRA Package | GLinks ULTRA Package PRO
Links SQL Plugins | Website Design and SEO | UltraNerds | ULTRAGLobals Plugin | Pre-Made Template Sets | FREE GLinks Plugins!