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

Commit 3a754f84 by Ruben Bridgewater

Add test for an empty integer array as default value

1 parent b9a0339b
...@@ -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!