Skip to content

Commit

Permalink
Fixed mysql creation script
Browse files Browse the repository at this point in the history
git-svn-id: file:///Users/Shitiz/Downloads/lssvn/source/phpsurveyor@2096 b72ed6b6-b9f8-46b5-92b4-906544132732
  • Loading branch information
c-schmitz committed Oct 18, 2006
1 parent c98dd1f commit 809072d
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
2 changes: 1 addition & 1 deletion admin/install/create-mysql.sql
Expand Up @@ -67,7 +67,7 @@ CREATE TABLE `prefix_conditions` (
--

CREATE TABLE `prefix_groups` (
`gid` int(11) NOT NULL,
`gid` int(11) NOT NULL auto_increment,
`sid` int(11) NOT NULL default '0',
`group_name` varchar(100) NOT NULL default '',
`group_code` varchar(50) NOT NULL default '',
Expand Down
1 change: 0 additions & 1 deletion admin/install/upgrade-mysql.php
Expand Up @@ -37,7 +37,6 @@ function db_upgrade($oldversion) {
PRIMARY KEY (`surveyls_survey_id`, `surveyls_language`)
)
TYPE = MyISAM CHARACTER SET utf8 COLLATE utf8_general_ci;");
modify_database("","ALTER TABLE `prefix_groups` CHANGE `gid` `gid` INT( 11 ) NOT NULL");
modify_database("","ALTER TABLE `prefix_groups` DROP PRIMARY KEY");
modify_database("","ALTER TABLE `prefix_groups` ADD PRIMARY KEY (`gid`,`language`)");

Expand Down

0 comments on commit 809072d

Please sign in to comment.