i love inconsistency
This commit is contained in:
parent
46f2168fe5
commit
1f933d27da
1 changed files with 1 additions and 1 deletions
|
@ -1,7 +1,7 @@
|
||||||
import * as mongoose from 'mongoose';
|
import * as mongoose from 'mongoose';
|
||||||
|
import { Int32 } from 'mongoose-int32';
|
||||||
|
|
||||||
const Schema = mongoose.Schema;
|
const Schema = mongoose.Schema;
|
||||||
const Int32 = require('mongoose-int32');
|
|
||||||
|
|
||||||
const Sample = new Schema({
|
const Sample = new Schema({
|
||||||
start: {type: Int32, default: new Int32(0)},
|
start: {type: Int32, default: new Int32(0)},
|
||||||
|
|
Loading…
Reference in a new issue