Skip to content

Commit 8f17d61

Browse files
authored
remove nullableTimestamps() documentation (#10160)
this method is a simple direct alias of the `timestamps()` method. even though it is left in the `framework` for backwards compatibility, we should remove it from the documentation to discourage its use. https://github.com/laravel/framework/blob/11.x/src/Illuminate/Database/Schema/Blueprint.php#L1258
1 parent fb9b29d commit 8f17d61

File tree

1 file changed

+0
-8
lines changed

1 file changed

+0
-8
lines changed

migrations.md

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -458,7 +458,6 @@ The schema builder blueprint offers a variety of methods that correspond to the
458458
[timeTz](#column-method-timeTz)
459459
[timestamp](#column-method-timestamp)
460460
[timestamps](#column-method-timestamps)
461-
[nullableTimestamps](#column-method-nullableTimestamps)
462461
[timestampsTz](#column-method-timestampsTz)
463462
[softDeletes](#column-method-softDeletes)
464463
[softDeletesTz](#column-method-softDeletesTz)
@@ -774,13 +773,6 @@ This method is intended to be used when defining the columns necessary for a pol
774773

775774
$table->morphs('taggable');
776775

777-
<a name="column-method-nullableTimestamps"></a>
778-
#### `nullableTimestamps()` {.collection-method}
779-
780-
The `nullableTimestamps` method is an alias of the [timestamps](#column-method-timestamps) method:
781-
782-
$table->nullableTimestamps(precision: 0);
783-
784776
<a name="column-method-nullableMorphs"></a>
785777
#### `nullableMorphs()` {.collection-method}
786778

0 commit comments

Comments
 (0)