add time zone to events for editing, fixes recurrance on wrong days
This commit is contained in:
parent
6e56491ff7
commit
17fdc440b5
4 changed files with 48 additions and 14 deletions
|
|
@ -21,6 +21,7 @@ my $quiet; # this line required
|
|||
my $session = start(); # this line required
|
||||
|
||||
# upgrade functions go here
|
||||
addEventTimeZone($session);
|
||||
|
||||
finish($session); # this line required
|
||||
|
||||
|
|
@ -32,6 +33,12 @@ finish($session); # this line required
|
|||
# # and here's our code
|
||||
#}
|
||||
|
||||
#-------------------------------------------------
|
||||
sub addEventTimeZone {
|
||||
my $session = shift;
|
||||
$session->db->write("alter table Event add column timeZone varchar(255) binary default 'UTC'");
|
||||
}
|
||||
|
||||
|
||||
|
||||
# ---- DO NOT EDIT BELOW THIS LINE ----
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue