4 module.exports = function(sequelize, DataTypes) {
6 var SquareProject = sequelize.define('SquareProject', {
8 type: DataTypes.STRING,
15 description: DataTypes.STRING,
16 notes: DataTypes.TEXT,
18 type: DataTypes.BLOB('long'),
20 return this.getDataValue('preproduction').toString();
24 type: DataTypes.BLOB('long'),
26 return this.getDataValue('production').toString();
30 tableName: 'square_projects'