mirror of
https://github.com/IT4Change/Ocelot-Social.git
synced 2025-12-13 07:45:56 +00:00
- create command should be run with --date-format to be more human readable, and --template-file to use our template instead of migrate's default - rename migrations - rename createdAt to migratedAt to remove ambiguity - do not merge relationships for Location nodes as we don't want to create duplicate relationships - use singular locationId as it's iterating one at a time
6 lines
201 B
JavaScript
6 lines
201 B
JavaScript
export default {
|
|
title: { type: 'string', primary: true, token: true },
|
|
description: { type: 'string' },
|
|
migratedAt: { type: 'string', isoDate: true, default: () => new Date().toISOString() },
|
|
}
|