Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error loading string data #152

Open
dowglaz opened this issue Dec 6, 2022 · 0 comments
Open

Error loading string data #152

dowglaz opened this issue Dec 6, 2022 · 0 comments

Comments

@dowglaz
Copy link

dowglaz commented Dec 6, 2022

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant