Skip to content

[5.2] Update column created_at, updated_at #11518

Closed
@PheRum

Description

@PheRum

Hello.
When working with Elokuent that it updates column created_at, updated_at both when creating and updating.

When creating this is true, but why update created_at column every time I do something it updated?
In this case, it makes use of a useless $tablet->timestamps(); because you can not fix the field of creating records

Say it is a bug or by design?

or tell me how to leave the field after creating created_at intact?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions