Major changes to the database structure: Delete and recreate the whole database (would require too many migrations otherwise). Removed a market, updated some images, added to the AP page, and merged bios.

This commit is contained in:
Wynne Crisman
2016-06-26 11:16:00 -07:00
parent abee7df2eb
commit a57900c065
16 changed files with 163 additions and 247 deletions

View File

@@ -13,10 +13,15 @@ module.exports = function(sequelize, DataTypes) {
type: DataTypes.STRING,
allowNull: false
},
counts: {
measures: {
//A list of measureId's in the order they should be listed when entering data (first is most likely, last is least likely).
type: DataTypes.JSON,
allowNull: false
},
defaultPrice: {
type: DataTypes.DECIMAL(9,2),
allowNull: false
},
visible: {
type: DataTypes.BOOLEAN,
allowNull: false,