Skip to content

Error loading string data #152

@dowglaz

Description

@dowglaz

I have the current data in the table creation:

amount varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL

and in the fixture file:

amount: "000000601"

When it loads the fixtures, for some unknown reason, it converts it to: 0000-06-01 00:00:00 -0659 LMT.

When I remove the quotes in the fixture file:

amount: 000000601

it converts correctly to a varchar.

However, I would like to keep being explicit about the data type by using quotes.

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