mirror of
https://github.com/wassname/talk.git
synced 2026-06-28 15:07:24 +08:00
11 lines
237 B
JavaScript
11 lines
237 B
JavaScript
const mongoose = require('../services/mongoose');
|
|
const Schema = mongoose.Schema;
|
|
|
|
const MigrationSchema = new Schema({
|
|
version: Number,
|
|
});
|
|
|
|
const Migration = mongoose.model('Migration', MigrationSchema);
|
|
|
|
module.exports = Migration;
|