logo       


CVS: phpwiki/schemas mysql.sql,1.4,1.5: msg#00053

Subject: CVS: phpwiki/schemas mysql.sql,1.4,1.5
Update of /cvsroot/phpwiki/phpwiki/schemas
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv1076/schemas

Modified Files:
        mysql.sql 
Log Message:
added new tables to mysql schema
fixed default DBAUthParam samples to match these
added group constants (look terrible, I'd prefer strings instead of constants)


Index: mysql.sql
===================================================================
RCS file: /cvsroot/phpwiki/phpwiki/schemas/mysql.sql,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -2 -b -p -d -r1.4 -r1.5
--- mysql.sql   4 Mar 2003 05:26:49 -0000       1.4
+++ mysql.sql   27 Jan 2004 23:25:51 -0000      1.5
@@ -48,7 +48,30 @@ CREATE TABLE link (
 drop table if exists session;
 CREATE TABLE session (
-    sess_id varchar(32) not null default '',
-    sess_data blob not null,
+       sess_id         VARCHAR(32) NOT NULL DEFAULT '',
+       sess_data       BLOB NOT NULL,
     sess_date INT UNSIGNED NOT NULL,
     PRIMARY KEY (sess_id)
 );
+
+-- don't know if the pref table can hold the password. (it's stored there)
+drop table if exists pref;
+CREATE TABLE pref (
+       userid  CHAR(48) BINARY NOT NULL UNIQUE,
+       prefs   TEXT NULL DEFAULT '',
+       PRIMARY KEY (userid)
+) TYPE=MyISAM;
+
+drop table if exists user;
+CREATE TABLE user (
+       userid  CHAR(48) BINARY NOT NULL UNIQUE,
+       passwd  CHAR(48) BINARY DEFAULT '',
+--     groupname CHAR(48) BINARY DEFAULT 'users',
+       PRIMARY KEY (userid)
+) TYPE=MyISAM;
+
+CREATE TABLE member (
+       userid    CHAR(48) BINARY NOT NULL,
+       groupname CHAR(48) BINARY NOT NULL DEFAULT 'users',
+       INDEX (userid),
+       INDEX (groupname)
+) TYPE=MyISAM;



-------------------------------------------------------
The SF.Net email is sponsored by EclipseCon 2004
Premiere Conference on Open Tools Development and Integration
See the breadth of Eclipse activity. February 3-5 in Anaheim, CA.
http://www.eclipsecon.org/osdn


Ruby Jobs
Java Jobs
Jobs in California
more...
what
job title, keywords
where
city, state, zip
jobs by job search
Search:
Java, servers, webhosting, windows, cisco ...
more...
<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

Recently Viewed:
encryption.gpg....    ietf.rfc822/199...    freebsd.devel.i...    lang.haskell.li...    mail.squirrelma...    web.zope.plone....    yellowdog.gener...    text.xml.xalan....    recreation.phot...    kde.devel.educa...    hardware.bus.ca...    printing.ghosts...    voip.peering/20...    assembly/2006-0...    org.user-groups...    culture.interne...    network.i2p/200...    boot-loaders.ya...    xfree86.render/...    qnx.openqnx.dev...    jakarta.velocit...    user-groups.pal...   
Home | blog view | USPTO Patent Archive | advertise | OSDir is an inevitable website. super tiny logo

Free Magazines

Cisco News
Receive a free quarterly e-newsletter with exclusive articles on how Cisco IT uses its own products and solutions to enable the business.
subscribe

Systems Management News, the newspaper for IT systems administration and data center managers! Each issue of Systems Management News is chock-full of news and analysis to help you understand what's happening in your field.
subscribe

The Enterprise Newsweekly eWeek is the essential technology information source for builders of e-business.
subscribe

Oracle Magazine Oracle Magazine contains technology strategy articles, sample code, tips, Oracle and partner news, how to articles for developers and DBAs, and more. Oracle (NASDAQ: ORCL) is the world's largest enterprise software company.
subscribe

Total Telecom Total Telecom is "The Economist of the communications industry".
subscribe