Skip to content

postgres defaultValue isnt applied #6690

@ryanleecode

Description

@ryanleecode

Link to reproduction

No response

Payload Version

3.0.0-beta.43

Node Version

20.12.2

Next.js Version

15.0.0-rc.0

Describe the Bug

When you change a text field to required and set the defaultValue the defaultValue isn't applied So you will just get data loss warnings.

DATA LOSS WARNING: Possible data loss detected if schema is pushed.

Reproduction Steps

.

Adapters and Plugins

No response

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