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

Contents of /contributions/modules/topic/topic.mysql

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


Revision 1.2 - (show annotations) (download)
Sat Jan 21 02:37:11 2006 UTC (3 years, 10 months ago) by kbahey
Branch: MAIN
CVS Tags: HEAD
Changes since 1.1: +2 -6 lines
Update for UTF-8
1 CREATE TABLE topic (
2 nid int(10) NOT NULL default '0',
3 num_answers int(2) NOT NULL default '0',
4 num_days int(2) NOT NULL default '0',
5 answer_status int(1) NOT NULL default '0',
6 processed int(1) NOT NULL default '0',
7 PRIMARY KEY (nid)
8 ) TYPE=MyISAM /*!40100 DEFAULT CHARACTER SET utf8 */;
9
10 CREATE TABLE topic_answer (
11 aid int(2) NOT NULL default '0',
12 uid int(10) NOT NULL default '0',
13 nid int(10) NOT NULL default '0',
14 answer text default '',
15 PRIMARY KEY (aid, uid, nid),
16 KEY key_uid (uid),
17 KEY key_nid (nid)
18 ) TYPE=MyISAM /*!40100 DEFAULT CHARACTER SET utf8 */;

  ViewVC Help
Powered by ViewVC 1.1.2