Skip to content

Commit

Permalink
moved old tables to InnoDB
Browse files Browse the repository at this point in the history
  • Loading branch information
adubovikov authored Oct 3, 2016
1 parent fcd1189 commit 23e44dc
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions sql/schema_configuration.sql
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ CREATE TABLE IF NOT EXISTS `alias` (
UNIQUE KEY `id` (`id`),
UNIQUE KEY `host_2` (`ip`,`port`,`capture_id`),
KEY `host` (`ip`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8;
) ENGINE=InnoDB DEFAULT CHARSET=utf8;

--
-- Dumping data for table `alias`
Expand All @@ -45,7 +45,7 @@ CREATE TABLE IF NOT EXISTS `group` (
`gid` int(10) NOT NULL DEFAULT 0,
`name` varchar(100) NOT NULL DEFAULT '',
UNIQUE KEY `gid` (`gid`)
) ENGINE=MyISAM DEFAULT CHARSET=latin1;
) ENGINE=InnoDB DEFAULT CHARSET=latin1;

--
-- Dumping data for table `group`
Expand Down Expand Up @@ -89,7 +89,7 @@ CREATE TABLE IF NOT EXISTS `node` (
UNIQUE KEY `id` (`id`),
UNIQUE KEY `host_2` (`host`),
KEY `host` (`host`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8;
) ENGINE=InnoDB DEFAULT CHARSET=utf8;

--
-- Dumping data for table `node`
Expand Down Expand Up @@ -118,7 +118,7 @@ CREATE TABLE IF NOT EXISTS `setting` (
UNIQUE KEY `uid_2` (`uid`,`param_name`),
KEY `param_name` (`param_name`),
KEY `uid` (`uid`)
) ENGINE=MyISAM DEFAULT CHARSET=latin1 ;
) ENGINE=InnoDB DEFAULT CHARSET=latin1 ;

--
-- Dumping data for table `setting`
Expand Down Expand Up @@ -149,7 +149,7 @@ CREATE TABLE IF NOT EXISTS `user` (
PRIMARY KEY (`uid`),
UNIQUE KEY `login` (`username`),
UNIQUE KEY `username` (`username`)
) ENGINE=MyISAM DEFAULT CHARSET=latin1;
) ENGINE=InnoDB DEFAULT CHARSET=latin1;

--
-- Dumping data for table `user`
Expand Down

0 comments on commit 23e44dc

Please sign in to comment.