12 lines
242 B
JavaScript
12 lines
242 B
JavaScript
const mongoose = require('mongoose');
|
|
|
|
const Schema = mongoose.Schema;
|
|
|
|
const AppVersion = new Schema({
|
|
version: String,
|
|
commit: String,
|
|
fileName: String,
|
|
uploaded: Date
|
|
});
|
|
|
|
module.exports = mongoose.model('AppVersion', AppVersion);
|