forked from oat/in-the-database-2
i love inconsistency
This commit is contained in:
parent
46f2168fe5
commit
1f933d27da
|
@ -1,7 +1,7 @@
|
|||
import * as mongoose from 'mongoose';
|
||||
import { Int32 } from 'mongoose-int32';
|
||||
|
||||
const Schema = mongoose.Schema;
|
||||
const Int32 = require('mongoose-int32');
|
||||
|
||||
const Sample = new Schema({
|
||||
start: {type: Int32, default: new Int32(0)},
|
||||
|
|
Loading…
Reference in New Issue