Files
DataLogger-Generic/www/api/models/Doc.js
Patrick McDonagh 7f24d04759 File storage started
2016-05-04 17:51:44 -05:00

29 lines
597 B
JavaScript

/**
* File.js
*
* @description :: TODO: You might write a short summary of how this model works and what it represents here.
* @docs :: http://sailsjs.org/documentation/concepts/models-and-orm/models
*/
module.exports = {
tableName: 'files',
attributes: {
id: {
type: 'integer',
unique: true,
autoIncrement: true,
primaryKey: true
},
name: {
type: 'string'
},
location: {
type: 'string'
},
visible: {
type:'boolean'
}
}
};