mirror of
https://github.com/IT4Change/Ocelot-Social.git
synced 2025-12-13 07:45:56 +00:00
Favor createdAt over timestamp
- it's more human readable and consistent with all other nodes in production
This commit is contained in:
parent
561889c530
commit
c6bfca312c
@ -1,5 +1,5 @@
|
||||
export default {
|
||||
title: { type: 'string', primary: true, token: true },
|
||||
description: { type: 'string' },
|
||||
timestamp: { type: 'number', unique: true },
|
||||
createdAt: { type: 'string', isoDate: true, default: () => new Date().toISOString() },
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user