update mysql schema upgrade files to use ENGINE= instead of TYPE= (closes #359)

This commit is contained in:
Andrew Dolgov
2011-08-01 12:57:38 +04:00
parent 71bc164586
commit 1aea205cc1
8 changed files with 10 additions and 10 deletions
+2 -2
View File
@@ -2,13 +2,13 @@ create table ttrss_labels2 (id integer not null primary key auto_increment,
owner_uid integer not null,
caption varchar(250) not null,
foreign key (owner_uid) references ttrss_users(id) ON DELETE CASCADE
) TYPE=InnoDB;
) ENGINE=InnoDB;
create table ttrss_user_labels2 (label_id integer not null,
article_id integer not null,
foreign key (label_id) references ttrss_labels2(id) ON DELETE CASCADE,
foreign key (article_id) references ttrss_entries(id) ON DELETE CASCADE
) TYPE=InnoDB;
) ENGINE=InnoDB;
insert into ttrss_filter_actions (id,name,description) values (7, 'label',
'Assign label');