Skip to content

Multiselect field required #8978

@molotow11

Description

@molotow11

Hi, Guys!

I have a problem to migrate json field into multiselect
For some reason multiselect field going to be required in the db and I see the following message:

- Made the column `colors` on table `Test` required, but there are 2 existing NULL values
To apply this migration, we need to reset the database

I've tried to add default: [] to the multiselect field definition, but no luck. Any other properties not available for this field.
Any ideas how to solve it?

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