]> git.wh0rd.org - tt-rss.git/commitdiff
specify engine=innodb for all tt-rss tables
authorAndrew Dolgov <fox@madoka.volgo-balt.ru>
Tue, 10 Sep 2013 04:48:32 +0000 (08:48 +0400)
committerAndrew Dolgov <fox@madoka.volgo-balt.ru>
Tue, 10 Sep 2013 04:48:32 +0000 (08:48 +0400)
schema/ttrss_schema_mysql.sql

index fd4bf924a12b95bd2740ef2d38b3175cb7ebb793..243dad8cc44d7bb096778d9c67e445ae56fd198c 100644 (file)
@@ -84,7 +84,7 @@ create table ttrss_counters_cache (
        value integer not null default 0,
        updated datetime not null,
        foreign key (owner_uid) references ttrss_users(id) ON DELETE CASCADE
-);
+) ENGINE=InnoDB DEFAULT CHARSET=UTF8;
 
 create index ttrss_counters_cache_feed_id_idx on ttrss_counters_cache(feed_id);
 create index ttrss_counters_cache_owner_uid_idx on ttrss_counters_cache(owner_uid);
@@ -96,7 +96,7 @@ create table ttrss_cat_counters_cache (
        value integer not null default 0,
        updated datetime not null,
        foreign key (owner_uid) references ttrss_users(id) ON DELETE CASCADE
-);
+) ENGINE=InnoDB DEFAULT CHARSET=UTF8;
 
 create index ttrss_cat_counters_cache_owner_uid_idx on ttrss_cat_counters_cache(owner_uid);
 
@@ -435,7 +435,7 @@ create table ttrss_feedbrowser_cache (
        feed_url text not null,
        site_url text not null,
        title text not null,
-       subscribers integer not null) DEFAULT CHARSET=UTF8;
+       subscribers integer not null) ENGINE=InnoDB DEFAULT CHARSET=UTF8;
 
 create table ttrss_labels2 (id integer not null primary key auto_increment,
        owner_uid integer not null,