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

Commit 064f30b1 by Mick Hansen

Merge pull request #3651 from BridgeAR/testcase

Add test for an empty integer array as default value
2 parents 0d9cd7b3 3a754f84
...@@ -24,6 +24,10 @@ if (dialect.match(/^postgres/)) { ...@@ -24,6 +24,10 @@ if (dialect.match(/^postgres/)) {
type: DataTypes.ARRAY(DataTypes.JSON), type: DataTypes.ARRAY(DataTypes.JSON),
defaultValue: [] defaultValue: []
}, },
magic_numbers: {
type: DataTypes.ARRAY(DataTypes.INTEGER),
defaultValue: []
},
course_period: DataTypes.RANGE(DataTypes.DATE), course_period: DataTypes.RANGE(DataTypes.DATE),
acceptable_marks: { type: DataTypes.RANGE(DataTypes.DECIMAL), defaultValue: [0.65, 1] }, acceptable_marks: { type: DataTypes.RANGE(DataTypes.DECIMAL), defaultValue: [0.65, 1] },
available_amount: DataTypes.RANGE, available_amount: DataTypes.RANGE,
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!