54 lines
1.2 KiB
JavaScript
54 lines
1.2 KiB
JavaScript
/**
|
|
* Well_test.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 = {
|
|
// id int(11) NOT NULL AUTO_INCREMENT,
|
|
// test_date datetime,
|
|
// test_volume_oil float,
|
|
// test_volume_water float,
|
|
// test_volume_gas float,
|
|
// k_factor float,
|
|
// projected_volume_oil float,
|
|
// projected_volume_water float,
|
|
// api_gravity_oil float,
|
|
// sg_oil float,
|
|
// sg_water float,
|
|
// test_hours float,
|
|
attributes: {
|
|
id: {
|
|
type: 'integer',
|
|
unique: true,
|
|
autoIncrement: true,
|
|
primaryKey: true
|
|
},
|
|
test_date: {
|
|
type: 'datetime'
|
|
},
|
|
volume_oil: {
|
|
type: 'float'
|
|
},
|
|
volume_water: {
|
|
type: 'float'
|
|
},
|
|
volume_gas: {
|
|
type: 'float'
|
|
},
|
|
k_factor: {
|
|
type: 'float'
|
|
},
|
|
api_gravity_oil: {
|
|
type: 'float'
|
|
},
|
|
specific_gravity_water: {
|
|
type: 'float'
|
|
},
|
|
test_hours: {
|
|
type: 'float'
|
|
},
|
|
}
|
|
};
|