Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion classes/MigrationColumnType.php
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,7 @@ public static function toMigrationMethodName($type, $columnName)
// The datetime type maps to datetime and timestamp. Use the name
// guessing as the only possible solution.

if (in_array($columnName, ['created_at', 'updated_at'])) {
if (in_array($columnName, ['created_at', 'updated_at', 'deleted_at'])) {
return self::TYPE_TIMESTAMP;
}

Expand Down