InstallSchema file ko Dbschema file me kaise convert kare.
-
Please clarify your specific problem or provide additional details to highlight exactly what you need. As it's currently written, it's hard to tell exactly what you're asking.– Community BotCommented Aug 8, 2022 at 12:21
-
Try this developer.adobe.com/commerce/php/development/components/…– MsquareCommented Aug 8, 2022 at 13:05
Add a comment
|
2 Answers
Please follow the following steps to successfully Migrate your install/upgrade scripts to declarative schema
- Go to your database search for setup_module table and delete all the modules for which you want to have db_schema.xml
- Now Paste your module/s in the Vendor directory app\code\vendor\module
- Then Give Permissions -
sudo chmod -R 777
- Convert your schema by pasting the following command.
bin/magento setup:install --convert-old-scripts=1
bin/magento setup:upgrade --convert-old-scripts=1