AdobeDocs / AdobeDocs/commerce-php

Clarify how to store extension attributes in the database

Open Beginner friendly
#313 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
11
Forks
177
PR merge metrics
No merged PRs in 30d

Description

### Is there an existing issue for this?

- [X] I have searched the existing issues

### What's missing?

# General issue

Affected topic: /guides/v2.4/extension-dev-guide/extension_attributes/adding-attributes.html
Description:

The article is not clarifying whether we should create our own table column for scalar attributes manually for example via db_schema.xml or via an InstallSchema setup script to persist the extension attribute value in the database.
Possible solutions:

Clarify what a developer needs to do to store the extension attribute in the database.
Additional information:

Contributor guide

Open the contributing guide

Research direction

Open /guides/v2.4/extension-dev-guide/extension_attributes/adding-attributes.html and review the existing extension-attribute guidance. Check how db_schema.xml and an InstallSchema setup script are described, then clarify the required way to persist scalar extension-attribute values in the database; done when a developer can determine whether to create a table column and how.

Written by the indexing model from the issue text.

Assessment

Domain
databases, documentation
Issue type
Documentation
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
68/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.