mirror of
https://github.com/Ratstail91/sineQL.git
synced 2025-11-29 02:34:28 +11:00
Added unique keyword
This commit is contained in:
@@ -11,6 +11,7 @@ module.exports = sequelize.define('authors', {
|
||||
},
|
||||
|
||||
name: {
|
||||
type: Sequelize.TEXT
|
||||
type: Sequelize.STRING,
|
||||
unique: true
|
||||
}
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user