changing posts to reference clerkUserID rather than id in mongodb
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
import mongoose from 'mongoose'
|
||||
|
||||
const postSchema = new mongoose.Schema({
|
||||
userID: {
|
||||
clerkUserID: {
|
||||
type: String,
|
||||
required: true
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user