明树Git Lab

Commit 7ae205e0 authored by zhangqi's avatar zhangqi

增加key字段

parent 6482a79e
...@@ -9,7 +9,10 @@ const Resources = sequelize.define('Resources', { ...@@ -9,7 +9,10 @@ const Resources = sequelize.define('Resources', {
primaryKey: true, primaryKey: true,
autoIncrement: true autoIncrement: true
}, },
key: {
type: DataTypes.STRING,
comment: "资源库key"
},
name: { name: {
type: DataTypes.STRING, type: DataTypes.STRING,
comment: "资源库名称" comment: "资源库名称"
......
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