不要怂,就是干,撸起袖子干!

Commit d2f1af65 by Mick Hansen

Merge pull request #5112 from ozum/master

tsrange data type is added.
2 parents 544d5655 cda3c512
Showing with 4 additions and 2 deletions
# Future # Future
- [ADDED] PostgreSQL tsrange (Range of timestamp without time zone) data type support.
- [FIXED] attributes from multiple scopes does not merge [#4856](https://github.com/sequelize/sequelize/issues/4856) - [FIXED] attributes from multiple scopes does not merge [#4856](https://github.com/sequelize/sequelize/issues/4856)
- [FIXED] Support Unicode strings in mssql [#3752](https://github.com/sequelize/sequelize/issues/3752) - [FIXED] Support Unicode strings in mssql [#3752](https://github.com/sequelize/sequelize/issues/3752)
......
...@@ -37,7 +37,7 @@ var util = require('util') ...@@ -37,7 +37,7 @@ var util = require('util')
* }) * })
* ``` * ```
* There may be times when you want to generate your own UUID conforming to some other algorithm. This is accomplised * There may be times when you want to generate your own UUID conforming to some other algorithm. This is accomplised
* using the defaultValue property as well, but instead of specifying one of the supplied UUID types, you return a value * using the defaultValue property as well, but instead of specifying one of the supplied UUID types, you return a value
* from a function. * from a function.
* ```js * ```js
* sequelize.define('model', { * sequelize.define('model', {
...@@ -617,7 +617,8 @@ var pgRangeSubtypes = { ...@@ -617,7 +617,8 @@ var pgRangeSubtypes = {
bigint: 'int8range', bigint: 'int8range',
decimal: 'numrange', decimal: 'numrange',
dateonly: 'daterange', dateonly: 'daterange',
date: 'tstzrange' date: 'tstzrange',
datenotz: 'tsrange'
}; };
RANGE.prototype.key = RANGE.key = 'RANGE'; RANGE.prototype.key = RANGE.key = 'RANGE';
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!