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

Contents of /contributions/modules/navigation/navigation.mysql

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


Revision 1.4 - (show annotations) (download)
Tue Mar 16 16:09:23 2004 UTC (5 years, 8 months ago) by jeremy
Branch: MAIN
CVS Tags: HEAD
Branch point for: DRUPAL-4-4
Changes since 1.3: +1 -0 lines
Mar 16, 2004 (Jeremy Andrews <jeremy at kerneltrap.org>)
 - navigation.module
    o add administrative option to make menu item always enabled
    o function navigation_load_selected_items() needs a rewrite to support
      multiple active items.  At this time it can only handle one item being
      active at a time.  (hence, this functionality is exceedingly limited)

 - navigation.module
    o added int(1) 'enable' to table 'menu_item'
1
2 CREATE TABLE menu (
3 mid int(10) unsigned NOT NULL auto_increment,
4 name varchar(255) NOT NULL default '',
5 description text NULL default '',
6 weight tinyint(4) NOT NULL default '0',
7 roles varchar(255) NULL default '',
8 vocabularies varchar(255) NULL default '',
9 PRIMARY KEY (mid),
10 KEY (name)
11 ) TYPE=MyISAM;
12
13
14 CREATE TABLE menu_item (
15 iid int(10) unsigned NOT NULL auto_increment,
16 mid int(10) unsigned NOT NULL default '0',
17 name varchar(255) NOT NULL default '',
18 description text NULL default '',
19 url varchar(255) NOT NULL default '',
20 weight tinyint(4) NOT NULL default '0',
21 enable int(1) unsigned NOT NULL default '0',
22 roles varchar(255) NULL default '',
23 terms varchar(255) NULL default '',
24 PRIMARY KEY (iid),
25 KEY (mid)
26 ) TYPE=MyISAM;
27
28 CREATE TABLE menu_hierarchy (
29 iid int(10) unsigned NOT NULL default '0',
30 parent int(10) unsigned NOT NULL default '0',
31 KEY iid (iid),
32 KEY parent (parent)
33 ) TYPE=MyISAM;

  ViewVC Help
Powered by ViewVC 1.1.2