New answers tagged


Add "resource" node in table Replace <table name="acme_ponumber_sales_order" engine="innodb" comment="Sales orders"> With this <table name="acme_ponumber_sales_order" resource="default" engine="innodb" comment="Sales orders Table">


In the current dual state where tables and columns can be added/altered/removed either via setup scripts (those located in the Setup folder) or via the new etc/db_schema.xml files, Magento can not know by itself which tables/columns can be safely altered using only the db_schema.xml files. Hence, the db_schema_whitelist.json holds a list of all the DB tables,...

Top 50 recent answers are included