Is there a way just to add columns to a table using the creator subclass?
I don't seem to be able to do it without dropping the table and losing the data, ie...
my $existing_cols = $DB->table('Links')->cols;
my $new_table = $DB->creator('Links');
$new_table->cols( %$existing_cols, %$new_cols );
$new_table->create("force") or return Plugins::MyPlugin->error("Bla...");
I don't seem to be able to do it without dropping the table and losing the data, ie...
my $existing_cols = $DB->table('Links')->cols;
my $new_table = $DB->creator('Links');
$new_table->cols( %$existing_cols, %$new_cols );
$new_table->create("force") or return Plugins::MyPlugin->error("Bla...");