You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In Blueprint.php line 7:
Declaration of Cubettech\Lacassa\Schema\Blueprint::timestamp($column) should be compatible with Illuminate\Database\Schema\Blueprint::timestamp($column, $precision = 0)
Fixed by changing timestamp function
public function timestamp($column)
{
return $this->addColumn('timestamp', $column);
}
To this
public function timestamp($column, $precision = 0)
{
return $this->addColumn('timestamp', $column, compact('precision'));
}
The text was updated successfully, but these errors were encountered:
On migration , i am getting error:
Fixed by changing timestamp function
To this
The text was updated successfully, but these errors were encountered: