Browse Source

2.0 数据库更新 user project

master
CODE 1 year ago
parent
commit
d928aad3bb
  1. 6
      api/app/lib/models/project.js

6
api/app/lib/models/project.js

@ -33,7 +33,7 @@ module.exports = dc => {
autoIncrement: false
},
longitude: {
type: DataTypes.STRING,
type: DataTypes.DOUBLE,
allowNull: true,
defaultValue: null,
comment: null,
@ -42,7 +42,7 @@ module.exports = dc => {
autoIncrement: false
},
latitude: {
type: DataTypes.STRING,
type: DataTypes.DOUBLE,
allowNull: true,
defaultValue: null,
comment: null,
@ -69,7 +69,7 @@ module.exports = dc => {
autoIncrement: false
},
img: {
type: array,
type: DataTypes.ARRAY(DataTypes.STRING),
allowNull: true,
defaultValue: null,
comment: null,

Loading…
Cancel
Save