This commit is contained in:
Mr Swift
2024-03-09 20:10:55 +03:30
parent 3c1a7da256
commit 379929844a
9 changed files with 48 additions and 35 deletions
+1 -5
View File
@@ -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,
}
);