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