WebshopApi: SL/DB/File.pm - POD Einrückungen
[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 -- @encoding: utf-8
5
6 UPDATE inventory SET shippingdate = itime WHERE shippingdate IS NULL;
7 ALTER TABLE inventory ALTER COLUMN shippingdate SET NOT NULL;