/[Grep]/lib/Grep/Upgrade.pm
This is repository of my old source code which isn't updated any more. Go to git.rot13.org for current projects!
ViewVC logotype

Annotation of /lib/Grep/Upgrade.pm

Parent Directory Parent Directory | Revision Log Revision Log


Revision 168 - (hide annotations)
Wed Jul 4 09:38:51 2007 UTC (16 years, 10 months ago) by dpavlin
File size: 356 byte(s)
rename columns to created_on and last_update and make hooks to update them
1 dpavlin 168 # Dobrica Pavlinusic, <dpavlin@rot13.org> 07/04/07 11:18:08 CEST
2    
3     use strict;
4     use warnings;
5    
6     package Grep::Upgrade;
7    
8     use Jifty::Upgrade;
9     use base qw/Jifty::Upgrade/;
10    
11     since '0.0.7' => sub {
12    
13     rename table => 'Grep::Model::Item', column => 'issued', to => 'created_on' ;
14     rename table => 'Grep::Model::Item', column => 'modified', to => 'last_update' ;
15    
16     };

  ViewVC Help
Powered by ViewVC 1.1.26