mirror of
https://git.tt-rss.org/git/tt-rss.git
synced 2025-12-23 18:41:29 +00:00
schema: wrap table creation in transaction block
This commit is contained in:
@@ -16,6 +16,8 @@ drop table if exists ttrss_feed_categories;
|
||||
drop table if exists ttrss_users;
|
||||
drop table if exists ttrss_themes;
|
||||
|
||||
begin;
|
||||
|
||||
create table ttrss_themes(id integer not null primary key auto_increment,
|
||||
theme_name varchar(200) not null,
|
||||
theme_path varchar(200) not null) TYPE=InnoDB;
|
||||
@@ -235,4 +237,4 @@ create table ttrss_user_prefs (
|
||||
index (pref_name),
|
||||
foreign key (pref_name) references ttrss_prefs(pref_name) ON DELETE CASCADE) TYPE=InnoDB;
|
||||
|
||||
|
||||
commit;
|
||||
|
||||
Reference in New Issue
Block a user