Skip to content

Commit

Permalink
fix #3
Browse files Browse the repository at this point in the history
  • Loading branch information
matfish3 committed Sep 11, 2023
1 parent 0c2106e commit 07034ad
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
# Release Notes for Optimum

## 1.2.1 - 2023-09-11
### Fixed
- Fix Install migration: invalid `enabled` default value [(#3)](https://github.com/matfish2/craft-optimum/issues/3)

## 1.2.0 - 2023-09-09
### Fixed
- Ensure datetime consistency [(#2)](https://github.com/matfish2/craft-optimum/issues/2#issuecomment-1711444522)
Expand Down
2 changes: 1 addition & 1 deletion src/migrations/Install.php
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ public function safeUp()
'handle' => $this->string()->notNull()->unique(), // = GA4 custom dimension name (e.g cta_button)
'startAt' => $this->dateTime()->null(),
'endAt' => $this->dateTime()->null(),
'enabled' => $this->boolean()->defaultValue(0),
'enabled' => $this->boolean()->defaultValue(false),
'dateCreated' => $this->timestamp(),
'dateUpdated' => $this->timestamp()
]);
Expand Down

0 comments on commit 07034ad

Please sign in to comment.