diff options
Diffstat (limited to 'src/services/events/event.schema.js')
-rw-r--r-- | src/services/events/event.schema.js | 22 |
1 files changed, 0 insertions, 22 deletions
diff --git a/src/services/events/event.schema.js b/src/services/events/event.schema.js deleted file mode 100644 index aff19f1..0000000 --- a/src/services/events/event.schema.js +++ /dev/null @@ -1,22 +0,0 @@ -const { Schema } = require('mongoose'); - -module.exports = new Schema({ - name: { - type: String, - required: true, - unique: true - }, - schedule: { - type: String, - required: true - }, - status: { - type: String, - default: 'notStarted' - }, - error: String, - context: {}, - nextRunAt: Date, - lastRunAt: Date -}, { timestamps: true }); - |