Skip to content

Commit

Permalink
Empty strings as default for Updater
Browse files Browse the repository at this point in the history
  • Loading branch information
Paweł Brzozowski committed Apr 8, 2019
1 parent 2e506e6 commit 2879580
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/table/TableChange.php
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ public function getValue()
'isUnique' => $schema['isUnique'] ?? null,
'isPrimaryKey' => $schema['isPrimaryKey'] ?? null,
'check' => $schema['check'] ?? null,
'default' => !empty($schema['default']) ? $schema['default'] : null,
'default' => $schema['default'],
'append' => $schema['append'] ?? null,
'isUnsigned' => $schema['isUnsigned'] ?? null,
'comment' => !empty($schema['comment']) ? $schema['comment'] : null,
Expand All @@ -82,7 +82,7 @@ public function getValue()
'isUnique' => $this->data[1]['isUnique'] ?? null,
'isPrimaryKey' => $this->data[1]['isPrimaryKey'] ?? null,
'check' => $this->data[1]['check'] ?? null,
'default' => !empty($this->data[1]['default']) ? $this->data[1]['default'] : null,
'default' => $this->data[1]['default'],
'append' => $this->data[1]['append'] ?? null,
'isUnsigned' => $this->data[1]['isUnsigned'] ?? null,
'comment' => !empty($this->data[1]['comment']) ? $this->data[1]['comment'] : null,
Expand Down

0 comments on commit 2879580

Please sign in to comment.