Skip to content

Commit

Permalink
Use InnoDB as DB table engine
Browse files Browse the repository at this point in the history
  • Loading branch information
cedric-anne committed Aug 21, 2018
1 parent d254e69 commit 679c79c
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion inc/entity.class.php
Original file line number Diff line number Diff line change
Expand Up @@ -363,7 +363,7 @@ static function install(Migration $migration) {
KEY `plugin_credit_types_id` (`plugin_credit_types_id`),
KEY `begin_date` (`begin_date`),
KEY `end_date` (`end_date`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci";
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci";
$DB->query($query) or die($DB->error());
}
}
Expand Down
2 changes: 1 addition & 1 deletion inc/ticket.class.php
Original file line number Diff line number Diff line change
Expand Up @@ -576,7 +576,7 @@ static function install(Migration $migration) {
KEY `date_creation` (`date_creation`),
KEY `consumed` (`consumed`),
KEY `users_id` (`users_id`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci";
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci";
$DB->query($query) or die($DB->error());
} else {

Expand Down
2 changes: 1 addition & 1 deletion inc/type.class.php
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ static function install(Migration $migration) {
KEY `is_recursive` (`is_recursive`),
KEY `date_mod` (`date_mod`),
KEY `date_creation` (`date_creation`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci";
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci";
$DB->query($query) or die($DB->error());
}
}
Expand Down

0 comments on commit 679c79c

Please sign in to comment.