Skip to content

Can I override addTimestamps? #1635

@ltdev22

Description

@ltdev22

Can I override addTimestamps() method? I don't like some of the default settings it using like the timestamp type for both created_at and updated_at and that only the created_at gets the current timestamp.

I'd like to set both created_at and updated_at as datetime type and default value on both to be NOW(), is that possible some how?

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions