From 6789b6c5bd8a0016523f45589d0dacdf4261201c Mon Sep 17 00:00:00 2001 From: Yashvardhan Arora Date: Fri, 24 May 2024 00:20:50 +0530 Subject: [PATCH] add hasTxt field in Plan schema --- server/api/models/plan.js | 1 + 1 file changed, 1 insertion(+) diff --git a/server/api/models/plan.js b/server/api/models/plan.js index 89d4dca..4b9bc7c 100644 --- a/server/api/models/plan.js +++ b/server/api/models/plan.js @@ -6,6 +6,7 @@ const planSchema = mongoose.Schema({ domainID: { type: String, required: true, ref: "Domain" }, planType: { type: String, required: true }, planLabel: { type: String, required: true }, + hasTxtRecord: { type: Boolean, required: true, default: false }, expiry: { type: Date, required: true }, stripeSubscriptionId: { type: String, required: true, default: "x" }, records: { type: Array, default: [] },