Skip to main content
Share Your Experience: Take the 2024 Developer Survey

Questions tagged [db-schema]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
2 votes
2 answers
16k views

How to create table and field using db_schema.xml in magento 2

I want to create table and fields using db_schema.xml rather than InstallSchema in custom module. Can anyone help please?
Naresh Sharma's user avatar
4 votes
1 answer
1k views

db_schema.xml setup:db-declaration:generate-whitelist: Constraints/index changes are not applied/refreshed - (Is there cached db_schema.xml?)

Magento 2.3 Question Is there any place where db_schema.xml for your module is cached/restored from? Issue I need to refresh/get the recently changed db_schema.xml changes to apply, which is not ...
CvRChameleon's user avatar