1 package AddFeatureIndex
;
6 extends
'CXGN::Metadata::Dbpatch';
10 my $name = __PACKAGE__
;
11 say "dbpatch name $name";
12 my $description = 'Add missing indexes';
13 my @previous_requested_patches = ();
15 $self->description($description);
16 $self->prereq(\
@previous_requested_patches);
21 say "Executing the patch:\n " . $self->name . ".\n\nDescription:\n ". $self->description . ".\n\nExecuted by:\n " . $self->username . " .";
22 say "Checking if this db_patch was executed before or if previous db_patches have been executed.\n";
23 say "Executing the SQL commands.\n";
26 create index feature_idx6 on feature (lower(uniquename));
30 say "Have a nice day!";