Fix createdAt type so that it won't overflow SQL server int
This commit is contained in:
parent
c939efe1e7
commit
02503e7635
|
@ -15,7 +15,7 @@ describe('manipulation', function () {
|
|||
married: Boolean,
|
||||
age: {type: Number, index: true},
|
||||
dob: Date,
|
||||
createdAt: {type: Number, default: Date.now}
|
||||
createdAt: {type: Date, default: Date}
|
||||
}, { forceId: true });
|
||||
|
||||
db.automigrate(done);
|
||||
|
|
Loading…
Reference in New Issue