We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 19667a7 commit 5c228d2Copy full SHA for 5c228d2
src/app/Library/Database/Table.php
@@ -30,10 +30,10 @@ public function getNotnull()
30
31
public function getDefault()
32
{
33
- return isset($this->schemaManager) ?
34
- (is_a($this->schemaManager->getConnection(), \Illuminate\Database\MariaDbConnection::class) &&
+ return isset($this->schemaManager) ?
+ (is_a($this->schemaManager->getConnection(), \Illuminate\Database\MariaDbConnection::class) &&
35
is_string($this->column['default']) &&
36
- $this->column['nullable'] === true &&
+ $this->column['nullable'] === true &&
37
($this->column['default'] === 'null' || $this->column['default'] === 'NULL') ? null : $this->column['default']) : $this->column['default'];
38
}
39
0 commit comments