Files
DataLogger-Generic/web_db/www/api/models/Config.js
2016-10-13 17:18:52 -05:00

26 lines
568 B
JavaScript

/**
* Config.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: 'config',
attributes: {
id: {
type: 'integer',
unique: true,
autoIncrement: true,
primaryKey: true
},
parameter: {
type: 'string',
unique: true
},
val: {
type: 'string'
}
}
};