Skip to content

Commit

Permalink
Fix migration trying to change a column type to a table
Browse files Browse the repository at this point in the history
Fixes #189
Fixes #188
  • Loading branch information
Tam committed Jul 30, 2019
1 parent 0530168 commit 277563e
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
## [Unreleased] 3.6.4
### Fixed
- Remove errant debug code causing migration to run every request (Fixes #190)
- Fix migration trying to change a column type to a table (Fixes #189, #188)

## 3.6.3 - 2019-07-25
### Added
Expand Down
4 changes: 2 additions & 2 deletions src/migrations/m190712_104805_new_data_format.php
Original file line number Diff line number Diff line change
Expand Up @@ -147,7 +147,7 @@ function ($carry, FieldInterface $field) use ($hasSuperTable, &$matrixFields, &$
$this->alterColumn(
$table,
$handle,
$contentTable
$columnType
);
continue;
}
Expand Down Expand Up @@ -176,7 +176,7 @@ function ($carry, FieldInterface $field) use ($hasSuperTable, &$matrixFields, &$
$this->alterColumn(
$table,
$fieldColumnPrefix . $field->handle,
$contentTable
$columnType
);
continue;
}
Expand Down

0 comments on commit 277563e

Please sign in to comment.