Magento 2 allows a developer to create, upgrade, or delete a table in the database. Earlier I talked about how to create and upgrade database in Magento 2. However, there were queries regarding the programmatic method to add a column to existing database table in Magento 2
You can use the below code for the same. For example, adding an order delivery date column to the order table in the database.
While development tasks, whenever you need to add a custom column in the existing database table, bookmark this post for reference.
Bookmarks