Updates to the data tracking app; Updated the VAP list.

This commit is contained in:
Wynne Crisman
2016-11-05 18:02:35 -07:00
parent 654a2cc615
commit 46ef9680c3
31 changed files with 8447 additions and 7249 deletions

View File

@@ -18,6 +18,10 @@ module.exports = function(sequelize, DataTypes) {
type: DataTypes.JSON,
allowNull: false
},
aliases: { //An array of alias names (strings) for this item. Used only to find the item, and not checked to ensure that names are unique.
type: DataTypes.JSON,
allowNull: true
},
defaultPrice: {
type: DataTypes.DECIMAL(9,2),
allowNull: false

View File

@@ -13,7 +13,7 @@ module.exports = function(sequelize, DataTypes) {
type: DataTypes.DATEONLY,
allowNull: false
},
quantity: {
amount: {
type: DataTypes.DECIMAL(13,2),
allowNull: false
},