Skip to content
This repository has been archived by the owner on Sep 12, 2022. It is now read-only.

How to insert the value NULL in a row? #20

Open
gpaddis opened this issue May 19, 2018 · 1 comment
Open

How to insert the value NULL in a row? #20

gpaddis opened this issue May 19, 2018 · 1 comment

Comments

@gpaddis
Copy link

gpaddis commented May 19, 2018

I need to set the value NULL in a row in core_config_data (Magento 1.9). However, I tried with the values "null", "NULL", 0, I left the field blank: in all cases, the value in the database is either a string (an empty string, if I leave the field blank) or an int.

Is there a way to just insert NULL? What should I write in the CSV file?

@gpaddis gpaddis changed the title How to insert the value "null" in the DB? How to insert the value NULL in a row? May 19, 2018
@gpaddis
Copy link
Author

gpaddis commented May 20, 2018

I propose a solution for this issue in PR #21.

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

No branches or pull requests

1 participant