color editing

This commit is contained in:
Jori Lallo
2017-10-29 23:22:46 -07:00
parent a1bfde7aec
commit e70a8c2495
18 changed files with 261 additions and 16 deletions

View File

@ -22,6 +22,7 @@ const Collection = sequelize.define(
urlId: { type: DataTypes.STRING, unique: true },
name: DataTypes.STRING,
description: DataTypes.STRING,
color: DataTypes.STRING,
type: {
type: DataTypes.STRING,
validate: { isIn: allowedCollectionTypes },