source: temp/test-xoops.ec-cube.net/html/modules/xoopsfaq/sql/mysql.sql @ 405

Revision 405, 1.1 KB checked in by root, 20 years ago (diff)
RevLine 
[405]1#
2# Table structure for table `xoopsfaq_categories`
3#
4
5CREATE TABLE xoopsfaq_categories (
6  category_id tinyint(3) unsigned NOT NULL auto_increment,
7  category_title varchar(255) NOT NULL default '',
8  category_order tinyint(3) unsigned NOT NULL default '0',
9  PRIMARY KEY  (category_id)
10) TYPE=MyISAM;
11# --------------------------------------------------------
12
13#
14# Table structure for table `xoopsfaq_contents`
15#
16
17CREATE TABLE xoopsfaq_contents (
18  contents_id smallint(5) unsigned NOT NULL auto_increment,
19  category_id tinyint(3) unsigned NOT NULL default '0',
20  contents_title varchar(255) NOT NULL default '',
21  contents_contents text NOT NULL,
22  contents_time int(10) unsigned NOT NULL default '0',
23  contents_order smallint(5) unsigned NOT NULL default '0',
24  contents_visible tinyint(1) unsigned NOT NULL default '1',
25  contents_nohtml tinyint(1) unsigned NOT NULL default '0',
26  contents_nosmiley tinyint(1) unsigned NOT NULL default '0',
27  contents_noxcode tinyint(1) unsigned NOT NULL default '0',
28  PRIMARY KEY  (contents_id),
29  KEY contents_title (contents_title(40)),
30  KEY contents_visible_category_id (contents_visible,category_id)
31) TYPE=MyISAM;
Note: See TracBrowser for help on using the repository browser.