Skip to content

Commit 4bccbc5

Browse files
committed
support laravel 10
1 parent 5c228d2 commit 4bccbc5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/app/Library/Database/Table.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ public function getNotnull()
3030

3131
public function getDefault()
3232
{
33-
return isset($this->schemaManager) ?
33+
return isset($this->schemaManager) && class_exists(\Illuminate\Database\MariaDbConnection::class) ?
3434
(is_a($this->schemaManager->getConnection(), \Illuminate\Database\MariaDbConnection::class) &&
3535
is_string($this->column['default']) &&
3636
$this->column['nullable'] === true &&

0 commit comments

Comments
 (0)