Файл: install/db_tables/bookmark.sql
Строк: 17
CREATE TABLE IF NOT EXISTS `bookmark_user` (
`id` int(11) NOT NULL
AUTO_INCREMENT,
`id_user` int(11) NOT NULL,
`id_people` int(11) NOT
NULL,
`time` int(11) NOT NULL,
PRIMARY KEY (`id`),
KEY `time`
(`time`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8;
CREATE TABLE IF NOT EXISTS
`bookmark_foto` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`id_user`
int(11) NOT NULL,
`id_foto` int(11) NOT NULL,
`time` int(11) NOT NULL,
PRIMARY KEY (`id`),
KEY `time` (`time`)
) ENGINE=MyISAM DEFAULT
CHARSET=utf8;
CREATE TABLE IF NOT EXISTS `bookmark_forum` (
`id` int(11)
NOT NULL AUTO_INCREMENT,
`id_user` int(11) NOT NULL,
`id_theme` int(11)
NOT NULL,
`time` int(11) NOT NULL,
PRIMARY KEY (`id`),
KEY `time`
(`time`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8;
CREATE TABLE IF NOT EXISTS
`bookmark_files` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`id_user`
int(11) NOT NULL,
`id_file` int(11) NOT NULL,
`time` int(11) NOT NULL,
PRIMARY KEY (`id`),
KEY `time` (`time`)
) ENGINE=MyISAM DEFAULT
CHARSET=utf8;