add: Calendar events from 7.4-prebranch

- Attachments
 - Setting view permissions
This commit is contained in:
Doug Bell 2007-05-28 22:27:31 +00:00
parent 07a40788bb
commit b519375126
6 changed files with 266 additions and 48 deletions

View file

@ -7,6 +7,8 @@
http://www.plainblack.com/rfe/request-for-enhancement/-1493348--js-confirmation-operation/databaselink/re--1493348--js-confirmation-operation/databaselink.pm#OUb5zN8bltGdPG_2LJZMGQ
- add: User profile data table is now a flat table, one column for each
field.
- add: Calendar events now allow attachments
- add: Calendar events now allow setting view permissions

View file

@ -23,6 +23,7 @@ my $session = start(); # this line required
# upgrade functions go here
fixProfileDataWithoutFields($session);
buildNewUserProfileTable($session);
addAttachmentsToEvents($session);
finish($session); # this line required
@ -154,6 +155,17 @@ sub buildNewUserProfileTable {
#----------------------------------------------------------------------------
sub addAttachmentsToEvents {
my $session = shift;
print "\tAdding an storageId column to the Event table..." unless $quiet;
$session->db->write(
"ALTER TABLE Event ADD COLUMN storageId VARCHAR(22) not null"
);
print "OK!\n" unless $quiet;
}
# ---- DO NOT EDIT BELOW THIS LINE ----