Skip to content

Commit 04238b4

Browse files
committed
add check for MySQLi platform
1 parent 96baffe commit 04238b4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Database/Migrations/2020-12-28-223112_create_auth_tables.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ public function __construct(?Forge $forge = null)
2626
$authConfig = config('Auth');
2727
$this->tables = $authConfig->tables;
2828
$this->ifNotExists = false;
29-
$this->attributes = ['ENGINE' => 'InnoDB'];
29+
$this->attributes = ($this->db->getPlatform() === 'MySQLi') ? ['ENGINE' => 'InnoDB'] : [];
3030
}
3131

3232
public function up(): void

0 commit comments

Comments
 (0)