/[drupal]/contributions/modules/onlinestatus/onlinestatus.mysql
ViewVC logotype

Contents of /contributions/modules/onlinestatus/onlinestatus.mysql

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph


Revision 1.4 - (show annotations) (download)
Mon Nov 6 00:43:14 2006 UTC (3 years ago) by xeniac
Branch: MAIN
CVS Tags: HEAD
Branch point for: DRUPAL-5
Changes since 1.3: +20 -3 lines
A small update, the SQL code now reflects the onlinestatus.install file, i
added a note that this file is usaly obsolete.
1 -- Version $Id: onlinestatus.mysql,v 1.3 2006/01/21 01:13:07 xeniac Exp $
2 --
3 -- This file should be obsolete. The Drupal Setup should add the databasetable
4 -- automaticly when you activate the onlinestatus module in admin/modules.
5 --
6 -- This file is part of Onlinestatus Indicator.
7 --
8 -- Onlinestatus Indicator is free software; you can redistribute it and/or modify
9 -- it under the terms of the GNU General Public License as published by
10 -- the Free Software Foundation; either version 2 of the License, or
11 -- any later version.
12 --
13 -- Onlinestatus Indicator is distributed in the hope that it will be useful,
14 -- but WITHOUT ANY WARRANTY; without even the implied warranty of
15 -- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
16 -- GNU General Public License for more details.
17 --
18 -- You should have received a copy of the GNU General Public License
19 -- along with Onlinestatus Indicator; if not, write to the Free Software
20 -- Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
21
22 --
23 -- Table structure for table 'onlinestatus'
24 --
25 CREATE TABLE `onlinestatus` (
26 `uid` int(10) unsigned NOT NULL,
27 `messenger` varchar(16) NOT NULL,
28 `status` varchar(32) NOT NULL default 'unknown',
29 `changed` int(11) unsigned NOT NULL,
30 PRIMARY KEY (`uid`,`messenger`)
31 )TYPE=MyISAM /*!40100 DEFAULT CHARACTER SET utf8 */;

  ViewVC Help
Powered by ViewVC 1.1.2