Skip to content

Bug: Model insert Created_at and updated_at get when new record added #2737

Description

@MisterAnmar

Describe the bug
When i use model->save() to insert new record
when using Maria DB everything fine
When i use mySQL it seems the model add the timestamp for created_at and updated_at.
which is strange it could be only me.

CodeIgniter 4 version
Appstarter using composer 4.0.2

Affected module(s)
Model Class

Context

  • OS: Win10
  • Web server WAMP 3.1.9 64bit
  • PHP version 7.3.5
    ---------- an Update
    MySQL version 5.7.26

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugVerified issues on the current code behavior or pull requests that will fix them

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions