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

Commit e9340003 by cristoforo Committed by Jan Aagaard Meier

[ci skip] SomeUnique example duplicate removed (#6145)

1 parent eba30f1d
Showing with 0 additions and 1 deletions
......@@ -34,7 +34,6 @@ var Foo = sequelize.define('foo', {
// Creating two objects with the same value will throw an error. The unique property can be either a
// boolean, or a string. If you provide the same string for multiple columns, they will form a
// composite unique key.
someUnique: {type: Sequelize.STRING, unique: true},
uniqueOne: { type: Sequelize.STRING, unique: 'compositeIndex'},
uniqueTwo: { type: Sequelize.INTEGER, unique: 'compositeIndex'}
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!