PDA

Zobacz pełną wersję : CB baza danych - 3 tabele



Robert111
31-08-2010, 00:23
Witam, Po instalacji Community Builder w bazie danych pojawiło się 10 tabel. Czy wie ktoś może do czego służą i co przechowują te 3 tabele w bazie danych:

Tabela jos_comprofiler_members:

CREATE TABLE IF NOT EXISTS `jos_comprofiler_members` (
`referenceid` int(11) NOT NULL DEFAULT '0',
`memberid` int(11) NOT NULL DEFAULT '0',
`accepted` tinyint(1) NOT NULL DEFAULT '1',
`pending` tinyint(1) NOT NULL DEFAULT '0',
`membersince` date NOT NULL DEFAULT '0000-00-00',
`reason` mediumtext,
`description` varchar(255) DEFAULT NULL,
`type` mediumtext,

Tabela jos_comprofiler_userreports:

CREATE TABLE IF NOT EXISTS `jos_comprofiler_userreports` (
`reportid` int(11) NOT NULL AUTO_INCREMENT,
`reporteduser` int(11) NOT NULL DEFAULT '0',
`reportedbyuser` int(11) NOT NULL DEFAULT '0',
`reportedondate` date NOT NULL DEFAULT '0000-00-00',
`reportexplaination` text NOT NULL,
`reportedstatus` tinyint(4) NOT NULL DEFAULT '0',

Tabela jos_comprofiler_view:


CREATE TABLE IF NOT EXISTS `jos_comprofiler_views` (
`viewer_id` int(11) NOT NULL DEFAULT '0',
`profile_id` int(11) NOT NULL DEFAULT '0',
`lastip` varchar(50) NOT NULL DEFAULT '',
`lastview` datetime NOT NULL DEFAULT '0000-00-00 00:00:00',
`viewscount` int(11) NOT NULL DEFAULT '0',
`vote` tinyint(3) DEFAULT NULL,
`lastvote` datetime NOT NULL DEFAULT '0000-00-00 00:00:00',


Bardzo proszę o pomoc w opisie tych 3 tabel.

zwiastun
31-08-2010, 01:07
A może byś jednak chociaż spróbował dojść do odpowiedzi samodzielnie. To chyba nie takie trudne, gdy w nazwie tabeli jest userreports, a w nazwach pól reportid, reporteduser, reportedbyuser czy też - w nazwie tabeli: views, a w nazwach pól: viewer_id, profile_id, lastip , lastview, itd.

Robert111
31-08-2010, 12:42
Czy mógłby mi ktoś pomóc w krótkim opisie tych tabel?

zwiastun
31-08-2010, 22:11
Spróbuję pomóc, jeśli najpierw sam spróbujesz i zaprezentujesz swoje domysły.