From 2a6d3f3185e15ee20b507f64db40366649441da5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jan=20B=C3=B6hmer?= Date: Sat, 31 Aug 2019 13:11:58 +0200 Subject: [PATCH] Update the dates of suppliers too. --- src/Migrations/Version20190829104643.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Migrations/Version20190829104643.php b/src/Migrations/Version20190829104643.php index 8a48eba8..e6809bc1 100644 --- a/src/Migrations/Version20190829104643.php +++ b/src/Migrations/Version20190829104643.php @@ -56,7 +56,7 @@ final class Version20190829104643 extends AbstractMigration //Fill empty timestamps with current date $tables = ["attachments", "attachment_types", "categories", "devices", "footprints", "manufacturers", - "orderdetails", "pricedetails", "storelocations"]; + "orderdetails", "pricedetails", "storelocations", "suppliers"]; foreach ($tables as $table) { $this->addSql("UPDATE $table SET datetime_added = NOW() WHERE datetime_added = '0000-00-00 00:00:00'");