fix
This commit is contained in:
@@ -3,14 +3,10 @@ const mongoose = require('mongoose');
|
||||
const brandSchema = new mongoose.Schema({
|
||||
title: String,
|
||||
link: {
|
||||
type: String,
|
||||
unique: [true, "This link already taken"]
|
||||
type: String
|
||||
},
|
||||
description: String,
|
||||
logo: String,
|
||||
},
|
||||
{
|
||||
timestamps: true,
|
||||
}
|
||||
);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user