Video Lesson: Exercise: Write another setup data patch script in Magento

This is premium content

Only available to enrolled or University students.
Join today to unlock all lessons in this course.

Exercise: Write another setup data patch script in Magento

Learn to write a second Magento setup data patch script to populate and manage blog post database entries.

Lesson Content

Using what you just learned in the last lesson, write a second setup patch data script to populate your blog post database table with more data so you have extra blog posts to work with.

Keep the existing patch script in place and add a subsequent one. Experiment with calling the repository with different data, and even try deleting some of the existing blog posts in the database.

If you need to re-execute the same patch script, remove the related entry from the patch_list database table. If Magento doesn’t know it previously executed the script, it will attempt to execute it again, wh...

Premium content

Enroll to unlock the full content and all course materials.

Maggie

Hey, I'm Maggie! πŸ‘‹

Ask me anything.

Want to chat with Maggie?

Enroll in this course for AI tutor access.

Comments

Join the discussion!

Comments

Want to comment on this lesson?

Enroll in this course to leave comments.