mirror of
https://github.com/Ratstail91/sineql-demo.git
synced 2026-05-05 23:30:11 +10:00
Updated the dependencies, adjusted book handler code
This commit is contained in:
@@ -12,7 +12,8 @@ module.exports = sequelize.define('author', {
|
||||
|
||||
name: {
|
||||
type: Sequelize.TEXT,
|
||||
allowNull: true,
|
||||
defaultValue: null
|
||||
allowNull: false,
|
||||
defaultValue: null,
|
||||
unique: true,
|
||||
}
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user