Showing
1 changed file
with
1 additions
and
18 deletions
| ... | @@ -23,15 +23,7 @@ module.exports = function (sequelize, DataTypes) { | ... | @@ -23,15 +23,7 @@ module.exports = function (sequelize, DataTypes) { |
| 23 | } | 23 | } |
| 24 | 24 | ||
| 25 | }, | 25 | }, |
| 26 | - typeQue:{ | 26 | + |
| 27 | - type:DataTypes.STRING(4), | ||
| 28 | - set: function (val){ | ||
| 29 | - this.setDataValue('typeQue',val); | ||
| 30 | - }, | ||
| 31 | - get: function () { | ||
| 32 | - return this.getDataValue('typeQue'); | ||
| 33 | - } | ||
| 34 | - }, | ||
| 35 | htmlFileName: { | 27 | htmlFileName: { |
| 36 | type:DataTypes.STRING, | 28 | type:DataTypes.STRING, |
| 37 | set: function (val) { | 29 | set: function (val) { |
| ... | @@ -51,15 +43,6 @@ module.exports = function (sequelize, DataTypes) { | ... | @@ -51,15 +43,6 @@ module.exports = function (sequelize, DataTypes) { |
| 51 | }, | 43 | }, |
| 52 | }, | 44 | }, |
| 53 | 45 | ||
| 54 | - tex:{ | ||
| 55 | - type:DataTypes.TEXT, | ||
| 56 | - set: function (val) { | ||
| 57 | - this.setDataValue('tex',val); | ||
| 58 | - }, | ||
| 59 | - get: function () { | ||
| 60 | - return this.getDataValue('tex'); | ||
| 61 | - }, | ||
| 62 | - }, | ||
| 63 | creator:{ | 46 | creator:{ |
| 64 | type:DataTypes.STRING, | 47 | type:DataTypes.STRING, |
| 65 | set: function (val) { | 48 | set: function (val) { | ... | ... |
-
Please register or login to post a comment