AdobeDocs / AdobeDocs/commerce-php
Incorrect documentation for declarative schema configuration - Rename a table section
- 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
### Which topic?
https://developer.adobe.com/commerce/php/development/components/declarative-schema/configuration/#rename-a-table
### What's wrong with the content?
The "migrateDataFromAnotherTable" onCreate attribute is not working because in the [Payment Services SaaS Export module ](https://developer.adobe.com/commerce/php/module-reference/module-payment-services-saas-export/), the triggers parameter is overwritten to use SafeMigrateDataFromAnotherTable instead of MigrateDataFromAnotherTable.

### What changes do you propose?
I propose to mention the safeMigrateDataFromAnotherTable onCreate attribute value in the [documentation](https://developer.adobe.com/commerce/php/development/components/declarative-schema/configuration/#rename-a-table) or change the di.xml for the saas export module by adding an item for the migrateDataFromAnotherTable trigger.
### Anything else that can help to cover this?
_No response_
Contributor guide
Research direction
Start with the declarative schema configuration page's "Rename a table" section and inspect the linked Payment Services SaaS Export module, especially its trigger configuration and di.xml reference. Determine whether the documentation or module configuration should reflect safeMigrateDataFromAnotherTable, then verify that the documented behavior matches the supported onCreate attribute or trigger.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- php
- Domain
- documentation
- Issue type
- Documentation
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 52/100