Browse Source

deleted DEFAULT false

release_0.0.2
巴林闲侠 2 years ago
parent
commit
31e3597074
  1. 4
      api/app/lib/models/user.js

4
api/app/lib/models/user.js

@ -81,7 +81,7 @@ module.exports = dc => {
disabled: {
type: DataTypes.BOOLEAN,
allowNull: false,
defaultValue: null,
defaultValue: false,
comment: null,
primaryKey: false,
field: "disabled",
@ -90,7 +90,7 @@ module.exports = dc => {
deleted: {
type: DataTypes.BOOLEAN,
allowNull: false,
defaultValue: null,
defaultValue: false,
comment: null,
primaryKey: false,
field: "deleted",

Loading…
Cancel
Save