Magento Expert Forum - Improve your Magento experience
-
How to create custom table in Magento2 Module?
How to create custom table in Magento2 Module?
Read more - https://www.envisionecommerce.com/ho...ento2-module-2/
View more threads in the same category:
-
-
Last edited by ORLOVA; 28-09-2023 at 08:23 AM.
-
-
Last edited by vishnu; 13-03-2019 at 08:04 AM.
-
-
hello please helping me to find out that how we can print or access custom collection.
Mageplaza\HelloWorld\Block\Post.php
-----------------
Buy Ladies Linen Suits Online: Grab Latest Designer Linen Suits collection 2020 at affordable price.
Last edited by harryjon; 05-10-2020 at 07:18 AM.
-
-
For Beginners such like me, It's helpful
-
-
thanks for sharing with us
-
-
Junior Member
To create custom tables for Magento 2 module, setup scripts can come in handy in such cases. Setup scripts in Magento 2 are essential when writing custom modules. We have 6 different types of Setup Scripts that can be used with our custom modules:
- InstallSchema
- UpgradeSchema
- InstallData
- UpgradeData
- Recurring
- Uninstall
Setup scripts in Magento 2 are triggered using the Command Line Interface (CLI). To know more about it, check out this blog post:
https://www.cloudways.com/blog/setup...-in-magento-2/
-
-
Thank you for the informative post.
-
-
Run the overhaul contents and confirm that the table has changed. Stage 1: Create another module. Stage 2: Create an InstallSchema content. Stage 3: Create an InstallData content. Stage 4: Add another module and check that a table with information was made. Stage 5: Create an UpgradeSchema content. Stage 6: Create the UpgradeData content.
-
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
Bookmarks