chore: reduce identifier length
Existing identifier length exceeds Oracle DB's limit.
This commit is contained in:
parent
81348308e7
commit
516499dbeb
|
@ -1103,11 +1103,12 @@ describe('basic-querying', function() {
|
||||||
dateProp: Date,
|
dateProp: Date,
|
||||||
numProp: Number,
|
numProp: Number,
|
||||||
});
|
});
|
||||||
numAndDateArrayModel = db.define('numAndDateArrayModel', {
|
// 'numAndDateArrayModel' is too long an identifier name for Oracle DB
|
||||||
|
numAndDateArrayModel = db.define('numAndDateArrMod', {
|
||||||
dateArray: [Date],
|
dateArray: [Date],
|
||||||
numArray: [Number],
|
numArray: [Number],
|
||||||
});
|
});
|
||||||
return db.automigrate(['numAndDateModel', 'numAndDateArrayModel']);
|
return db.automigrate(['numAndDateModel', 'numAndDateArrMod']);
|
||||||
});
|
});
|
||||||
|
|
||||||
it('coerces primitive datatypes on update', function() {
|
it('coerces primitive datatypes on update', function() {
|
||||||
|
|
|
@ -25,7 +25,8 @@ describe('datatypes', function() {
|
||||||
nested: Nested,
|
nested: Nested,
|
||||||
};
|
};
|
||||||
Model = db.define('Model', modelTableSchema);
|
Model = db.define('Model', modelTableSchema);
|
||||||
modelWithDecimalArray = db.define('modelWithDecimalArray', {
|
// 'modelWithDecimalArray' is too long an identifier name for Oracle DB
|
||||||
|
modelWithDecimalArray = db.define('modelWithDecArr', {
|
||||||
randomReview: {
|
randomReview: {
|
||||||
type: [String],
|
type: [String],
|
||||||
mongodb: {
|
mongodb: {
|
||||||
|
@ -42,7 +43,7 @@ describe('datatypes', function() {
|
||||||
numArrayModel = db.define('numArrayModel', {
|
numArrayModel = db.define('numArrayModel', {
|
||||||
bunchOfNums: [Number],
|
bunchOfNums: [Number],
|
||||||
});
|
});
|
||||||
db.automigrate(['Model', 'modelWithDecimalArray', 'dateArrayModel', 'numArrayModel'], done);
|
db.automigrate(['Model', 'modelWithDecArr', 'dateArrayModel', 'numArrayModel'], done);
|
||||||
});
|
});
|
||||||
|
|
||||||
it('should resolve top-level "type" property correctly', function() {
|
it('should resolve top-level "type" property correctly', function() {
|
||||||
|
|
Loading…
Reference in New Issue