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

Commit e67fd5b5 by Daniel Hanover

Add JSONB support to data-types.js

Extend Sequelize JSON support
1 parent a1926bd7
Showing with 5 additions and 0 deletions
......@@ -407,6 +407,11 @@ module.exports = {
* A JSON string column. Only available in postgres.
*/
JSON: 'JSON',
/*
* A pre-processed JSON data column. Only available in postgres.
*/
JSONB: 'JSONB',
/**
* A virtual value that is not stored in the DB. This could for example be useful if you want to provide a default value in your model
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!