diff --git a/backend/src/models/Migration.js b/backend/src/models/Migration.js index e36d10ac3..1b697c8ad 100644 --- a/backend/src/models/Migration.js +++ b/backend/src/models/Migration.js @@ -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() }, }