7 private $innodb_tables = [
8 'access_collection_membership',
14 'entity_relationships',
22 'users_remember_me_cookies',
29 public function up() {
31 $prefix = $this->getAdapter()->getOption(
'table_prefix');
33 foreach ($this->innodb_tables as
$table) {
34 if (!$this->hasTable($table)) {
39 ALTER TABLE {$prefix}{$table} 50 $prefix = $this->getAdapter()->getOption(
'table_prefix');
52 foreach ($this->innodb_tables as
$table) {
53 if (!$this->hasTable($table)) {
58 ALTER TABLE {$prefix}{$table}
down()
Changes table engine to MyISAM.
up()
Changes table engine to InnoDb.