Blog CFC 4 MySQL update script

Im gonna be updating my blog in the next couple of days, including the look hopefully and with it came a new MySQL update script. I've only run basic tests on my local copy but i think i have covered everything. If i have missed something (most likely) drop me a line in the comments.

#
# Table structure for table tblblogtrackbacks
#

DROP TABLE IF EXISTS `tblblogtrackbacks`;
CREATE TABLE `tblblogtrackbacks` (
`Id` varchar(35) character set utf8 NOT NULL default '',
`title` varchar(255) character set utf8 NOT NULL default '',
`blogname` varchar(255) character set utf8 NOT NULL default '',
`posturl` varchar(255) character set utf8 NOT NULL default '',
`excerpt` text character set utf8 NOT NULL,
`created` datetime NOT NULL default '0000-00-00 00:00:00',
`entryid` varchar(35) character set utf8 NOT NULL default '',
`blog` varchar(50) character set utf8 NOT NULL default '',
PRIMARY KEY (`Id`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8;

#
# Table structure for table tblblogsearchstats
#

DROP TABLE IF EXISTS `tblblogsearchstats`;
CREATE TABLE `tblblogsearchstats` (
`searchterm` varchar(255) character set utf8 NOT NULL default '',
`searched` datetime NOT NULL default '0000-00-00 00:00:00',
`blog` varchar(50) character set utf8 NOT NULL default ''
) ENGINE=MyISAM DEFAULT CHARSET=utf8;


# Adds new column to the subscribers table
ALTER TABLE `tblblogsubscribers`
ADD COLUMN `blog` varchar(50) CHARACTER SET utf8 NULL;


# Adds new 'website' column to the commentss table
ALTER TABLE `tblblogcomments`
ADD COLUMN `website` varchar(255) CHARACTER SET utf8 NULL AFTER `email`;

Posted: 25-Nov-2005

View: 2797

Permalink: here

Comments

Thanks Andy.

Here is also another entry from me about same topic.

BlogCFC 4 Upgrade - 1
http://demirkapi.net/avblog/permalinks/2005/11/14/...

#1 Ouz Demirkap1
25/Nov/05 4:02 AM

im looking on starting a blog or a forum on my website to gain some feed back from designs, music and various other services.

as for the blog, a simple one like this website would be nice
http://citrusmoon.typepad.com

as for a forum i would like some something along the lines of a flash one like the website shown below

di you know any where i could get some scripts for either of them, or if you have any you woudnt mind me having. i would give you reconition from where the forum or blo was created on my website.

Thanks for your help.

Curio

#2 Curio
02/Feb/06 10:15 AM

The best place to start is at Ray Camdens Blog:

BlogCFC - http://www.camdenfamily.com/morpheus/blog/

Galleon Forums - http://ray.camdenfamily.com/projects/galleon

Hope this helps

#3 Andy J
03/Feb/06 8:46 AM