DayOfDelivery = column name in ps_orders table.
If not exists, create IT.
ALTER TABLE ps_orders ADD DayOfDelivery date DEFAULT NULL;
You obviously don't read the documentation and expect to be able to just copy the codes. That way you won't understand and you won't learn anything. Here is the documentation. I have already given more advice than is healthy and without a single like post. I have no more advice.