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
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.phpdatabase/migrations/2015_07_12_190027_create_pages_table.phpdatabase/migrations/2015_07_27_172342_create_chapters_table.phpAnd it worked.
Perhaps the test used :
$requiresISAM = strpos($mysqlVersion, '5.5') === 0;is not relevant for MariaDB ?
Thank you 👍
Ben