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:
-
-
-
-
-
-
hello please helping me to find out that how we can print or access custom collection.
Mageplaza\HelloWorld\Block\Post.php
-----------------
we Iqbal Engineering Company deal in all type of Wholesale Saloon Chairs and Barber chair in pakistan
-
-
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.
-
-
Step 1: Create a new module (Tutorial_SimpleNews) with the following structure:
Step 2: Create configuration file. ...
Step 3: Create the installation file. ...
Step 4: Activate the module.
-
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