Skip to content
Snippets Groups Projects
Commit 38b37d47 authored by Guillaume Vagner's avatar Guillaume Vagner
Browse files

ignore node_modules

parent e479f8bc
Branches
No related tags found
No related merge requests found
config.js
node_modules
\ No newline at end of file
const mongoose = require('../mongoose');
const channelSchema = new mongoose.Schema({
token: String,
refresh: String,
expiration: Date,
username: String,
chatId: Number,
state: String,
groups: [Number],
scheduleTime: { type: String, validate: /^([0-1]?[0-9]|2[0-3]):[0-5][0-9]$/ }
})
module.exports = mongoose.model('Channel', channelSchema);
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment