Create a new database table in Magento
Learn how to create a new Magento 2 database table with db_schema.xml for a custom blog post entity.
Lesson Content
Just like this vendor/magento/module-catalog/etc/db_schema.xml file in the Magento Catalog module, we will create our own using this schema node as the base. Let’s copy the prolog and this node, a...
Join the discussion!
Comments
Want to comment on this lesson?
Enroll in this course to leave comments.