Skip to content

Commit

Permalink
Fixed migration bug
Browse files Browse the repository at this point in the history
  • Loading branch information
freost committed Dec 7, 2023
1 parent fb97916 commit 9a029cf
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 3 deletions.
8 changes: 8 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,11 @@
### 10.0.5 <small>(2023-12-07)</small>

#### Bugfixes

* Fixed an issue where an uninitialized connection name in migration would throw an exception.

--------------------------------------------------------

### 10.0.4 <small>(2023-12-03)</small>

#### Bugfixes
Expand Down
4 changes: 2 additions & 2 deletions src/mako/Mako.php
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ class Mako
*
* @var string
*/
public const VERSION = '10.0.4';
public const VERSION = '10.0.5';

/**
* Mako major version.
Expand All @@ -38,5 +38,5 @@ class Mako
*
* @var int
*/
public const VERSION_PATCH = 4;
public const VERSION_PATCH = 5;
}
2 changes: 1 addition & 1 deletion src/mako/database/migrations/Migration.php
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ abstract class Migration
/**
* Connection name.
*/
protected null|string $connectionName;
protected null|string $connectionName = null;

/**
* Migration description.
Expand Down

0 comments on commit 9a029cf

Please sign in to comment.