epic-s6ts
[kivitendo-erp.git] / sql / Pg-upgrade2 / inventory_shippingdate_not_null.sql
1 -- @tag: inventory_shippingdate_not_null
2 -- @description: shippingdate not null, leeres shippingdate für nachträglich wie itime setzen
3 -- @depends: release_3_4_0 inventory_fix_shippingdate_assemblies
4
5 UPDATE inventory SET shippingdate = itime WHERE shippingdate IS NULL;
6 ALTER TABLE inventory ALTER COLUMN shippingdate SET NOT NULL;