One of our models has a column definition of: skills: { type: 'object', defaultValue=[]}, which breaks when we run db.sync(...) with the following output:
Caught exception: error: syntax error at or near ")"
error: syntax error at or near ")"
at Connection.parseE (/Users/fwolf/Code/Node/zero-day/repo/node_modules/pg/lib/connection.js:539:11)
at Connection.parseMessage (/Users/fwolf/Code/Node/zero-day/repo/node_modules/pg/lib/connection.js:366:17)
at Socket.<anonymous> (/Users/fwolf/Code/Node/zero-day/repo/node_modules/pg/lib/connection.js:105:22)
at Socket.emit (events.js:107:17)
at readableAddChunk (_stream_readable.js:163:16)
at Socket.Readable.push (_stream_readable.js:126:10)
at TCP.onread (net.js:538:20)
One of our models has a column definition of:
skills: { type: 'object', defaultValue=[]}
, which breaks when we rundb.sync(...)
with the following output: