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

Contents of /contributions/modules/collaborative_editor/collaborative_editor.mysql

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


Revision 1.7 - (show annotations) (download)
Sat May 12 08:13:01 2007 UTC (2 years, 6 months ago) by ernest
Branch: MAIN
CVS Tags: HEAD
Changes since 1.6: +2 -2 lines
comments on header fixed
1 -- @file
2 -- MySQL SQL file for collaborative_editor module
3 --
4 -- Creates all MySQL tables required for collaborative_editor module
5
6 -- store content duplicates to be updated by the asynchrounous calls
7 CREATE TABLE ce_content (
8 cid int(10) NOT NULL default '0',
9 rid int(20) unsigned NOT NULL default '0',
10 title varchar(128) character set utf8 collate utf8_unicode_ci default NULL,
11 body longtext character set utf8 collate utf8_unicode_ci,
12 PRIMARY KEY (cid),
13 KEY rid (rid)
14 );
15
16 -- used to store pending changes
17 CREATE TABLE ce_pchanges (
18 cid int(10) unsigned NOT NULL default '0',
19 pid int(10) unsigned NOT NULL auto_increment,
20 uid int(10) unsigned NOT NULL default '0',
21 pchange longtext character set utf8 collate utf8_unicode_ci NOT NULL,
22 timestamp int(11) NOT NULL default '0',
23 PRIMARY KEY (pid),
24 KEY cid (cid,uid)
25 );
26
27 -- active users
28 CREATE TABLE ce_users (
29 uid int(10) unsigned NOT NULL default '0',
30 cid int(10) unsigned NOT NULL default '0',
31 checked int(10) unsigned NOT NULL default '0',
32 refresh int(10) unsigned NOT NULL default '0',
33 KEY uid (uid,cid)
34 );

  ViewVC Help
Powered by ViewVC 1.1.2