Declarative schema in Magento
Learn Magento declarative schema XML to define database tables columns indexes and db_schema_whitelist.
Lesson Content
So far weβve created some templates, and messed around with the layout of blocks on pages, but it would be really neat to get some real data flowing onto this page. But before we can do that, we need to first learn about how to handle data in Magento. The first step in doing this is creating a database table, so weβre going to be switching gears a bit and work on setting up this database entity.
It seems everything in Magento is driven from XML files, and database tables are no exception. Magento used to use versioned installer scripts, but it was clunky to deal with multiple versions of ta...
Join the discussion!
Comments
Want to comment on this lesson?
Enroll in this course to leave comments.