Skip to content

Commit

Permalink
updates
Browse files Browse the repository at this point in the history
  • Loading branch information
halituzan committed Sep 29, 2024
1 parent 4ca00f6 commit 2fa61ee
Show file tree
Hide file tree
Showing 7 changed files with 174 additions and 361 deletions.
1 change: 0 additions & 1 deletion app/Utils/models/abouts.model.tsx
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
import mongoose from "mongoose";
const Schema = mongoose.Schema;
const AboutSchema = new Schema({
user: { type: String },
title: {
type: String,
default: "",
Expand Down
1 change: 0 additions & 1 deletion app/Utils/models/blogs.model.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@ import mongoose from "mongoose";
import shortid from "shortid";
const Schema = mongoose.Schema;
const BlogsSchema = new Schema({
userId: { type: mongoose.Schema.Types.ObjectId, ref: "User" },
title: {
type: String,
required: [true, "Başlık Girin"],
Expand Down
Loading

0 comments on commit 2fa61ee

Please sign in to comment.