13 lines
330 B
JavaScript
13 lines
330 B
JavaScript
const { Schema, model } = require("mongoose");
|
|
|
|
const logging = new Schema({
|
|
id: { type: String },
|
|
type: { type: String },
|
|
ranBy: { type: String },
|
|
name: { type: String },
|
|
channel: { type: String },
|
|
created_at: { type: String, default: Date.now() / 1000 }
|
|
});
|
|
|
|
module.exports = model("logging", logging);
|