Can I change attribute_key directly in the database?

Volodymyr Lischer
Volodymyr Lischer Posts: 7 🧑🏻‍🚀 - Cadet

Hello.

I'm trying to create an Akeneo import. To map Akeneo attributes to Spryker attributes I need to have same keys.

But I have different attribute keys in Spryker and in Akeneo. I can't change the key in Akeneo. In Spryker backoffice this field is also disabled. But I can change it directly in DB.

So, my question is: can I do it, or it will break something?

Answers

  • fsmeier
    fsmeier Senior Software Engineer & Developer Enablement Advocate Sprykee Posts: 1,056 ⚖️ - Guardians (admin)

    Heyhey @Volodymyr Lischer ,

    do you really need to update existing product attributes within Spryker or can you also create new ones? Because for new ones you can easily set the key.

    All the best,

    Florian

  • Volodymyr Lischer
    Volodymyr Lischer Posts: 7 🧑🏻‍🚀 - Cadet

    Thank you for your reply, Florian.

    Yes, as there were no answer, I've decided not to map attributes, so, new attributes were created from Akeneo, and old ones have to be removed.