Skip to content

Switching a field type from Checkbox to Lightswitch causes MySQL error about data truncation #1

@angrybrad

Description

@angrybrad

Environment:

  • Craft version: 3.x
  • PHP version: 7.x
  • Database driver & version: MySQL - Need to verify behavior in PostgreSQL
  • Plugins & versions:

Description:

Switching a field type from Checkbox to Lightswitch causes MySQL error about data truncation.

Steps to reproduce:

Change a field with data in it from a Checkbox to a Lightswitch.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugmysqlseverity:minorCosmetic issues or bugs with simple workarounds

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions