Skip to content

Commit

Permalink
Fix the install SQL.
Browse files Browse the repository at this point in the history
  • Loading branch information
aaronschmitz committed Aug 18, 2012
1 parent 1f23649 commit c50a42d
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions installer/sql/create-mssql.sql
Expand Up @@ -215,14 +215,14 @@ CREATE TABLE [prefix_question_attributes] (

--
-- Table structure for table questions
--
--//AJSL
CREATE TABLE [prefix_questions] (
[qid] int NOT NULL IDENTITY (1,1),
[parent_qid] int NOT NULL default '0',
[sid] int NOT NULL default '0',
[gid] int NOT NULL default '0',
[tid] int NOT NULL default '0',
[type] varchar(1) NOT NULL default 'T', --//AJSL
[type] varchar(1) NOT NULL default 'T',
[title] varchar(20) NOT NULL default '',
[question] varchar(max) NOT NULL,
[preg] varchar(max),
Expand Down
4 changes: 2 additions & 2 deletions installer/sql/create-mysql.sql
Expand Up @@ -217,14 +217,14 @@ CREATE TABLE `prefix_question_attributes` (

--
-- Table structure for table questions
--
--//AJSL
CREATE TABLE `prefix_questions` (
`qid` int(11) NOT NULL auto_increment,
`parent_qid` int(11) NOT NULL default '0',
`sid` int(11) NOT NULL default '0',
`gid` int(11) NOT NULL default '0',
`tid` int(11) NOT NULL default '0',
`type` varchar(1) NOT NULL default 'T', --//AJSL
`type` varchar(1) NOT NULL default 'T',
`title` varchar(20) NOT NULL default '',
`question` text NOT NULL,
`preg` text,
Expand Down
4 changes: 2 additions & 2 deletions installer/sql/create-pgsql.sql
Expand Up @@ -222,14 +222,14 @@ CREATE TABLE prefix_question_attributes (

--
-- Table structure for table questions
--
--//AJSL
CREATE TABLE prefix_questions (
qid serial NOT NULL,
parent_qid integer DEFAULT 0 NOT NULL,
sid integer DEFAULT 0 NOT NULL,
gid integer DEFAULT 0 NOT NULL,
tid integer DEFAULT 0 NOT NULL,
"type" character varying(1) DEFAULT 'T' NOT NULL, --//AJSL
"type" character varying(1) DEFAULT 'T' NOT NULL,
title character varying(20) DEFAULT '' NOT NULL,
question text NOT NULL,
preg text,
Expand Down

0 comments on commit c50a42d

Please sign in to comment.