mirror of
https://github.com/Part-DB/Part-DB-server.git
synced 2025-06-23 10:18:56 +02:00
Update the dates of suppliers too.
This commit is contained in:
parent
b280d0c28b
commit
2a6d3f3185
1 changed files with 1 additions and 1 deletions
|
@ -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'");
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue