Skip to content

Commit

Permalink
use engine option for compatibility with MySQL 5.5+
Browse files Browse the repository at this point in the history
thanks fo mjhoy
  • Loading branch information
Daniel Choi committed Jun 17, 2011
1 parent 2d14684 commit ecdd793
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions lib/create.sql
Expand Up @@ -5,7 +5,7 @@ create table feeds (
num_items_read int default 0, /*a counter of the number of items read from this feed*/
last_viewed_at datetime,
primary key (feed_url)
) type=MyISAM;
) engine=MyISAM default charset=latin1;

create table items (
guid varchar(255),
Expand All @@ -22,7 +22,7 @@ create table items (
starred_at datetime,
primary key (feed,guid),
fulltext (title, text)
) type=MyISAM;
) engine=MyISAM default charset=latin1;

alter table items add index feed (feed(5));

Expand All @@ -31,7 +31,7 @@ create table feeds_folders (
folder varchar(255), /* folder title */
last_viewed_at datetime,
unique key (feed, folder)
) type=MyISAM;
) engine=MyISAM default charset=latin1;

alter table feeds_folders add index folder (folder(5));

0 comments on commit ecdd793

Please sign in to comment.