rfe: add url column to assetHistory table

This commit is contained in:
Colin Kuskie 2008-09-15 16:46:06 +00:00
parent d18f081683
commit 847fcfcef3
3 changed files with 14 additions and 3 deletions

View file

@ -41,6 +41,7 @@
- fixed: Tickets on add to badge screen now show the time at the event's timezone
- It was possible to run multiple singleton workflows at the same time.
- fixed: WebGUI Password Recovery email subject hard-coded
- rfe: Add url to list of attributes tracked in assetHistory
7.5.22
- fixed: Layout template now gets prepared correctly

View file

@ -28,6 +28,7 @@ my $quiet; # this line required
my $session = start(); # this line required
addUrlToAssetHistory ( $session ); ##This sub MUST GO FIRST
removeDoNothingOnDelete( $session );
fixIsPublicOnTemplates ( $session );
addEMSBadgeTemplate ( $session );
@ -49,6 +50,14 @@ sub addEMSBadgeTemplate {
print "Done.\n" unless $quiet;
}
#----------------------------------------------------------------------------
sub addUrlToAssetHistory {
my $session = shift;
print "\tAdding URL column to assetHistory" unless $quiet;
$session->db->write('ALTER TABLE assetHistory ADD COLUMN url VARCHAR(255)');
print "Done.\n" unless $quiet;
}
#----------------------------------------------------------------------------
sub removeDoNothingOnDelete {
my $session = shift;