chore: Remove all usage of collection.type (#1445)
* chore: Remove all usage of collection.type * migration: Remove type column
This commit is contained in:
@@ -23,12 +23,6 @@ const Collection = sequelize.define(
|
||||
color: DataTypes.STRING,
|
||||
private: DataTypes.BOOLEAN,
|
||||
maintainerApprovalRequired: DataTypes.BOOLEAN,
|
||||
type: {
|
||||
type: DataTypes.STRING,
|
||||
validate: { isIn: [["atlas", "journal"]] },
|
||||
},
|
||||
|
||||
/* type: atlas */
|
||||
documentStructure: DataTypes.JSONB,
|
||||
},
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user