Skip to content

Commit 9f632bf

Browse files
authored
Update Schema.php
1 parent b0d5078 commit 9f632bf

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

src/Schema.php

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -156,12 +156,17 @@ protected function columnsList()
156156
protected function columnsTypes($column)
157157
{
158158
return [
159+
'id' => ['id'],
159160
'rememberToken' => ['remember_token'],
160161
'softDeletes' => ['deleted_at'],
161162
'softDeletesTz' => ['deleted_at'],
162163
'timestamps' => ['created_at', 'updated_at'],
163164
'timestampsTz' => ['created_at', 'updated_at'],
165+
'nullableTimestamps' => ['created_at', 'updated_at'],
164166
'morphs' => ["{$column}_id", "{$column}_type"],
167+
'uuidMorphs' => ["{$column}_id", "{$column}_type"],
168+
'nullableUuidMorphs' => ["{$column}_id", "{$column}_type"],
169+
'nullableMorphs' => ["{$column}_id", "{$column}_type"],
165170
];
166171
}
167172

0 commit comments

Comments
 (0)