Skip to content
Open
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
14 changes: 14 additions & 0 deletions Schema/Blueprint.php
Original file line number Diff line number Diff line change
Expand Up @@ -1265,6 +1265,20 @@ public function nullableTimestamps($precision = null)
return $this->timestamps($precision);
}


/**
* Add nullable creation and update timestamps to the table.
*
* Alias for self::timestampsTz().
*
* @param int|null $precision
* @return \Illuminate\Support\Collection<int, \Illuminate\Database\Schema\ColumnDefinition>
*/
public function nullableTimestampsTz($precision = null)
{
return $this->timestampsTz($precision);
}

/**
* Add creation and update timestampTz columns to the table.
*
Expand Down
Loading