diff --git a/sql/2.0.91~2.1.txt b/sql/2.0.91~2.1.txt index 5a70c728..32d4b8cb 100644 --- a/sql/2.0.91~2.1.txt +++ b/sql/2.0.91~2.1.txt @@ -94,4 +94,6 @@ DROP `rated_by` ; ALTER TABLE `cb_user_profile` ADD `rating` TINYINT( 2 ) NOT NULL AFTER `profile_item` , ADD `voters` TEXT NOT NULL AFTER `rating` , -ADD `rated_by` INT( 150 ) NOT NULL AFTER `voters`; \ No newline at end of file +ADD `rated_by` INT( 150 ) NOT NULL AFTER `voters`; + +ALTER TABLE `cb_comments` CHANGE `date_added` `date_added` DATETIME NOT NULL ; \ No newline at end of file diff --git a/sql/2.1~2.1.1.txt b/sql/2.1~2.1.1.txt new file mode 100644 index 00000000..82ddaba7 --- /dev/null +++ b/sql/2.1~2.1.1.txt @@ -0,0 +1,25 @@ +ALTER TABLE `cb_video` ADD `video_password` VARCHAR( 255 ) NOT NULL AFTER `videokey` ; +ALTER TABLE `cb_video` ADD `video_users` TEXT NOT NULL AFTER `video_password`; +ALTER TABLE `cb_video` ADD `category_parents` TEXT NOT NULL AFTER `category`; + +INSERT INTO `clipbucket_svn`.`cb_config` (`configid` ,`name` ,`value`)VALUES ( + +NULL , 'comments_per_page', '15' + +); + + +INSERT INTO `clipbucket_svn`.`cb_email_templates` ( +`email_template_id` , +`email_template_name` , +`email_template_code` , +`email_template_subject` , +`email_template` , +`email_template_allowed_tags` +) +VALUES ( +NULL , 'Video Subscription Email', 'video_subscription_email', '{uploader} has uploaded new video on {website_title}', 'Hello {username} You have been notified by {website_title} that {uploader} has uploaded new video Video Title : {video_title} Video Description : {video_description}
click here to watch this video
You are notified because you are subscribed to {uploader}, you can manage your subscriptions by going to your account and click on manage subscriptions. {website_title}', '' +); + +ALTER TABLE `cb_video` ADD `subscription_email` ENUM( "pending", "sent" ) NOT NULL DEFAULT 'pending' AFTER `last_commented` ; +ALTER TABLE `cb_groups` ADD `group_admins` TEXT NOT NULL AFTER `userid` ; \ No newline at end of file