Initial commit
This commit is contained in:
13
backend/models/BibleVerse.js
Normal file
13
backend/models/BibleVerse.js
Normal file
@@ -0,0 +1,13 @@
|
||||
const mongoose = require("mongoose");
|
||||
|
||||
const bibleVerseSchema = new mongoose.Schema(
|
||||
{
|
||||
text: { type: String, required: true },
|
||||
reference: { type: String, required: true },
|
||||
date: { type: String, trim: true },
|
||||
active: { type: Boolean, default: true },
|
||||
},
|
||||
{ timestamps: true }
|
||||
);
|
||||
|
||||
module.exports = mongoose.model("BibleVerse", bibleVerseSchema);
|
||||
Reference in New Issue
Block a user