Вход Регистрация
Файл: install/db_tables/wall.sql
Строк: 26
CREATE TABLE IF NOT EXISTS `wall` ( `id` int(11) NOT NULL
auto_increment, `id_user` int(11) NOT NULL, `id_wall` int(11) NOT
NULL, `msg` varchar(10000) NOT NULL, `time` int(11) NOT
NULL, `privat_komm` int(11) NOT NULL, `reply` int(11) DEFAULT
'0', `hide` enum('0','1') DEFAULT '0', `hide_user` int(11) DEFAULT
'0', PRIMARY KEY (`id`) ) ENGINE=MyISAM DEFAULT CHARSET=utf8; CREATE
TABLE IF NOT EXISTS `wall_comments` ( `id` int(11) NOT NULL
AUTO_INCREMENT, `id_user` int(11) NOT NULL, `id_wall` varchar(50) NOT
NULL, `msg` varchar(10024) NOT NULL, `time` int(11) NOT NULL,
PRIMARY KEY (`id`) ) ENGINE=MyISAM DEFAULT CHARSET=utf8; CREATE TABLE
IF NOT EXISTS `wall_like` ( `id` int(11) NOT NULL AUTO_INCREMENT,
`id_user` int(11) NOT NULL, `id_komm` varchar(50) NOT NULL, PRIMARY
KEY (`id`) ) ENGINE=MyISAM DEFAULT CHARSET=utf8; CREATE TABLE IF NOT
EXISTS `wall_count` ( `id` int(11) NOT NULL AUTO_INCREMENT, `id_user`
int(11) NOT NULL, `id_wall` varchar(50) NOT NULL, PRIMARY KEY
(`id`) ) ENGINE=MyISAM DEFAULT CHARSET=utf8; CREATE TABLE IF NOT
EXISTS `wall_files` ( `id` int(11) NOT NULL AUTO_INCREMENT, `id_wall`
int(11) NOT NULL, `name` varchar(64) DEFAULT NULL, `ras` varchar(32)
NOT NULL, `size` int(11) NOT NULL, `type` varchar(32) NOT NULL,
`count` int(11) NOT NULL DEFAULT '0', PRIMARY KEY (`id`), KEY
`id_wall` (`id_wall`) ) ENGINE=MyISAM DEFAULT CHARSET=utf8;
Онлайн: 0
Реклама