jp-shared 1.0.4 → 1.0.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -10,11 +10,6 @@ const collegeSchema = new mongoose.Schema({
|
|
|
10
10
|
type: String,
|
|
11
11
|
required: true
|
|
12
12
|
},
|
|
13
|
-
// collegeType: {
|
|
14
|
-
// type: String,
|
|
15
|
-
// enum: ['Affiliated College', 'Constituent / University College', 'PG Center / Off-Campus Center', 'Recognized Center'],
|
|
16
|
-
// required: true
|
|
17
|
-
// },
|
|
18
13
|
stateName: {
|
|
19
14
|
type: String,
|
|
20
15
|
required: true
|
|
@@ -17,6 +17,6 @@ const schema = new mongoose.Schema(
|
|
|
17
17
|
const myDB = mongoose.connection.useDb(getDatabaseName());
|
|
18
18
|
|
|
19
19
|
// Create the model
|
|
20
|
-
const
|
|
20
|
+
const StateBoardModel = myDB.model("state-board", schema);
|
|
21
21
|
|
|
22
|
-
module.exports =
|
|
22
|
+
module.exports = StateBoardModel;
|