|
|
@@ -5,13 +5,13 @@ SET @sStorageEngine = (SELECT `value` FROM `sys_options` WHERE `name` = 'sys_sto
|
|
|
CREATE TABLE IF NOT EXISTS `bx_timeline_events` (
|
|
|
`id` int(11) NOT NULL auto_increment,
|
|
|
`owner_id` int(11) unsigned NOT NULL default '0',
|
|
|
- `type` varchar(255) collate utf8_unicode_ci NOT NULL,
|
|
|
- `action` varchar(255) collate utf8_unicode_ci NOT NULL,
|
|
|
- `object_id` text collate utf8_unicode_ci NOT NULL,
|
|
|
+ `type` varchar(255) NOT NULL,
|
|
|
+ `action` varchar(255) NOT NULL,
|
|
|
+ `object_id` text NOT NULL,
|
|
|
`object_privacy_view` int(11) NOT NULL default '3',
|
|
|
- `content` text collate utf8_unicode_ci NOT NULL,
|
|
|
- `title` varchar(255) collate utf8_unicode_ci NOT NULL,
|
|
|
- `description` text collate utf8_unicode_ci NOT NULL,
|
|
|
+ `content` text NOT NULL,
|
|
|
+ `title` varchar(255) NOT NULL,
|
|
|
+ `description` text NOT NULL,
|
|
|
`views` int(11) unsigned NOT NULL default '0',
|
|
|
`rate` float NOT NULL default '0',
|
|
|
`votes` int(11) unsigned NOT NULL default '0',
|
|
|
@@ -33,7 +33,7 @@ CREATE TABLE IF NOT EXISTS `bx_timeline_handlers` (
|
|
|
`type` enum('insert','update','delete') NOT NULL DEFAULT 'insert',
|
|
|
`alert_unit` varchar(64) NOT NULL default '',
|
|
|
`alert_action` varchar(64) NOT NULL default '',
|
|
|
- `content` text collate utf8_unicode_ci NOT NULL,
|
|
|
+ `content` text NOT NULL,
|
|
|
`privacy` varchar(64) NOT NULL default '',
|
|
|
PRIMARY KEY (`id`),
|
|
|
UNIQUE `handler` (`group`, `type`),
|
|
|
@@ -132,8 +132,8 @@ CREATE TABLE IF NOT EXISTS `bx_timeline_links` (
|
|
|
`profile_id` int(10) unsigned NOT NULL,
|
|
|
`media_id` int(11) NOT NULL DEFAULT '0',
|
|
|
`url` varchar(255) NOT NULL,
|
|
|
- `title` varchar(255) collate utf8_unicode_ci NOT NULL,
|
|
|
- `text` text collate utf8_unicode_ci NOT NULL,
|
|
|
+ `title` varchar(255) NOT NULL,
|
|
|
+ `text` text NOT NULL,
|
|
|
`added` int(11) NOT NULL,
|
|
|
PRIMARY KEY (`id`)
|
|
|
);
|