For the interested:

everything/tables/node.sql:

CREATE TABLE node ( node_id int(11) NOT NULL auto_increment, type_nodetype int(11) DEFAULT '0' NOT NULL, title char(240) DEFAULT '' NOT NULL, author_user int(11) DEFAULT '0' NOT NULL, createtime datetime DEFAULT '0000-00-00 00:00:00' NOT NULL, modified datetime DEFAULT '0000-00-00 00:00:00' NOT NULL, hits int(11) DEFAULT '0', loc_location int(11) DEFAULT '0', reputation int(11) DEFAULT '0' NOT NULL, lockedby_user int(11) DEFAULT '0' NOT NULL, locktime datetime DEFAULT '0000-00-00 00:00:00' NOT NULL, authoraccess char(4) DEFAULT 'iiii' NOT NULL, groupaccess char(5) DEFAULT 'iiiii' NOT NULL, otheraccess char(5) DEFAULT 'iiiii' NOT NULL, guestaccess char(5) DEFAULT 'iiiii' NOT NULL, dynamicauthor_permission int(11) DEFAULT '-1' NOT NULL, dynamicgroup_permission int(11) DEFAULT '-1' NOT NULL, dynamicother_permission int(11) DEFAULT '-1' NOT NULL, dynamicguest_permission int(11) DEFAULT '-1' NOT NULL, group_usergroup int(11) DEFAULT '-1' NOT NULL, PRIMARY KEY (node_id), KEY title (title,type_nodetype), KEY author (author_user), KEY type (type_nodetype) );

everything/tables/nodetype.sql

CREATE TABLE nodetype ( nodetype_id int(11) DEFAULT '0' NOT NULL auto_increment, restrict_nodetype int(11) DEFAULT '0', extends_nodetype int(11) DEFAULT '0', restrictdupes int(11) DEFAULT '0', sqltable char(255), grouptable char(40) DEFAULT '', defaultauthoraccess char(4) DEFAULT 'iiii' NOT NULL, defaultgroupaccess char(5) DEFAULT 'iiiii' NOT NULL, defaultotheraccess char(5) DEFAULT 'iiiii' NOT NULL, defaultguestaccess char(5) DEFAULT 'iiiii' NOT NULL, defaultgroup_usergroup int(11) DEFAULT '-1' NOT NULL, defaultauthor_permission int(11) DEFAULT '-1' NOT NULL, defaultgroup_permission int(11) DEFAULT '-1' NOT NULL, defaultother_permission int(11) DEFAULT '-1' NOT NULL, defaultguest_permission int(11) DEFAULT '-1' NOT NULL, maxrevisions int(11) DEFAULT '-1' NOT NULL, canworkspace int(11) DEFAULT '-1' NOT NULL, PRIMARY KEY (nodetype_id) );

I'm not sure if I should sign up an account, I mean my reputation will get capped before 100 billion anyways ;-)

Any other files I should be looking at?


In reply to Re: Perlmonks Database Structure by Anonymous Monk
in thread Perlmonks Database Structure by Anonymous Monk

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post, it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.