I must be going blingd. I thought I went through all of the sections for GT::SQL. Sorry about that
I'm now using the correct format, but it still won't like working. I've got;
my $creator = $DB->editor('Links');
$creator->cols (
impressions => {
type => 'INT',
not_null => 1,
regex => '^\d'
}
);
$creator->create or die "Unable to create: $GT::SQL::error";
Can you see anything obviouse there that isn't right? The error I get is;
Error running installation code: GT::SQL::Editor (1601833): Unknown method 'cols' called at (eval 6) line 122.
Thanks
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!
I'm now using the correct format, but it still won't like working. I've got;
Code:
# update the new tables in MySQL... my $creator = $DB->editor('Links');
$creator->cols (
impressions => {
type => 'INT',
not_null => 1,
regex => '^\d'
}
);
$creator->create or die "Unable to create: $GT::SQL::error";
Can you see anything obviouse there that isn't right? The error I get is;
Error running installation code: GT::SQL::Editor (1601833): Unknown method 'cols' called at (eval 6) line 122.
Thanks
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!