mirror of
https://github.com/Part-DB/Part-DB-server.git
synced 2026-03-06 07:25:32 +01:00
Update the dates of suppliers too.
This commit is contained in:
@@ -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'");
|
||||
|
||||
Reference in New Issue
Block a user