Skip to content

fields with @updatedAt are not behaving as expected #728

@chrisdrackett

Description

@chrisdrackett
  1. Prisma version (prisma -v or npx prisma -v): 2.26.0

When using prisma studio and adding records with a field that has @updatedAt I expect the item to be added with the current dateTime as the value for updated at. Instead it is getting the value 1970-01-01T00:00:00.000Z

Metadata

Metadata

Assignees

No one assigned

    Labels

    bug/2-confirmedBug has been reproduced and confirmed.kind/bugA reported bug.

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions