Skip to content

Custom order Status on Magento 2 programmatically

I have built a Payment Module and I want to add some custom status on table sales_order_status using etc/db_schema.xml.

Is this possible?

Thank you.