[Nodeinfo][DATABASE][Usage_stats] Fix wrong type for modified column

This commit is contained in:
Diogo Cordeiro
2019-06-05 10:04:59 +01:00
parent b6be1a3659
commit 02c67fd114
2 changed files with 3 additions and 4 deletions

View File

@@ -43,8 +43,7 @@ class Usage_stats extends Managed_DataObject
'fields' => [
'type' => ['type' => 'varchar', 'length' => 191, 'description' => 'Type of countable entity'],
'count' => ['type' => 'int', 'size' => 'int', 'default' => 0, 'description' => 'Number of entities of this type'],
'modified' => ['type' => 'datetime', 'not null' => true, 'default' => 'CURRENT_TIMESTAMP', 'description' => 'date this record was modified'],
'modified' => ['type' => 'timestamp', 'not null' => true, 'default' => 'CURRENT_TIMESTAMP', 'description' => 'date this record was modified'],
],
'primary key' => ['type'],
'unique keys' => [