Skip to content

MyISAM wrongly forced #726

Description

@benrubson

Hi,

On a Debian 9 server using MariaDB 10.1.26, with InnoDB as the only storage engine.
BookStack version : v0.20.0
PHP version : 7.0.27

Installation failed because some tables were being created with MyISAM engine.

Strangely enough, I had to comment the following :
if($requiresISAM) $table->engine = 'MyISAM';
where I found it, so in the following files :
database/migrations/2015_07_12_114933_create_books_table.php
database/migrations/2015_07_12_190027_create_pages_table.php
database/migrations/2015_07_27_172342_create_chapters_table.php

And it worked.

Perhaps the test used :
$requiresISAM = strpos($mysqlVersion, '5.5') === 0;
is not relevant for MariaDB ?

Thank you 👍

Ben

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions