Try something like:
my $editor = $DB->editor ('Category');
$editor->add_col ('depth', {
form_display => 'Category Depth',
form_size => '2',
form_type => 'INT',
not_null => '0',
default => '0'
type => 'INT' });
Ivan
-----
Iyengar Yoga Resources / GT Plugins
Code:
# Add "Depth" column to Category table my $editor = $DB->editor ('Category');
$editor->add_col ('depth', {
form_display => 'Category Depth',
form_size => '2',
form_type => 'INT',
not_null => '0',
default => '0'
type => 'INT' });
Ivan
-----
Iyengar Yoga Resources / GT Plugins