Commit df23894f authored by 何娜's avatar 何娜

数据库设置

parent c599503c
Pipeline #5873 passed with stage
in 2 seconds
...@@ -38,7 +38,7 @@ module.exports = app => { ...@@ -38,7 +38,7 @@ module.exports = app => {
}, },
appkey: { appkey: {
type: DataTypes.STRING(255), type: DataTypes.STRING(255),
allowNull: false, allowNull: true,
field: 'appKey', field: 'appKey',
}, },
notifyUrl: { notifyUrl: {
...@@ -49,7 +49,7 @@ module.exports = app => { ...@@ -49,7 +49,7 @@ module.exports = app => {
}, },
callbackUrl: { callbackUrl: {
type: DataTypes.STRING(255), type: DataTypes.STRING(255),
allowNull: false, allowNull: true,
defaultValue: '', defaultValue: '',
field: 'callbackUrl', field: 'callbackUrl',
}, },
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment