From 42a5226a748a44ce8fac78414a9f85049cef2c91 Mon Sep 17 00:00:00 2001
From: Andrew Dolgov <fox@bah.org.ru>
Date: Mon, 11 May 2009 23:25:56 +0400
Subject: mysql: ttrss_enclosures should be an InnoDB table

---
 schema/ttrss_schema_mysql.sql | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

(limited to 'schema/ttrss_schema_mysql.sql')

diff --git a/schema/ttrss_schema_mysql.sql b/schema/ttrss_schema_mysql.sql
index ac057fd5d..abeb30eca 100644
--- a/schema/ttrss_schema_mysql.sql
+++ b/schema/ttrss_schema_mysql.sql
@@ -234,7 +234,7 @@ create table ttrss_enclosures (id serial not null primary key,
 	title text not null,
 	duration text not null,
 	index (post_id),
-	foreign key (post_id) references ttrss_entries(id) ON DELETE cascade);
+	foreign key (post_id) references ttrss_entries(id) ON DELETE cascade) TYPE=InnoDB;
 
 create table ttrss_prefs_types (id integer not null primary key, 
 	type_name varchar(100) not null) TYPE=InnoDB;
-- 
cgit v1.2.3-54-g00ecf

