initial production release 🎉
This commit is contained in:
10
api/models/Logs/Application.js
Normal file
10
api/models/Logs/Application.js
Normal file
@@ -0,0 +1,10 @@
|
||||
const mongoose = require('mongoose')
|
||||
const logSchema = mongoose.Schema(
|
||||
{
|
||||
deployId: { type: String, required: true },
|
||||
event: { type: String, required: true }
|
||||
},
|
||||
{ timestamps: { createdAt: 'createdAt', updatedAt: false } }
|
||||
)
|
||||
|
||||
module.exports = mongoose.model('logs-application', logSchema)
|
Reference in New Issue
Block a user