Skip to content

Commit 9377114

Browse files
author
Rahul Singh
committed
template update
1 parent 6a25135 commit 9377114

File tree

3 files changed

+2
-4
lines changed

3 files changed

+2
-4
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ The simplest way to get started is to use `npx`:
1515

1616
#### npx
1717
```bash
18-
npx create-nodejs-project-module node_demo
18+
npx create-nodejs-project-module <module name>
1919
```
2020

2121
#### npm

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "create-nodejs-project-module",
33
"description": "Initialize a nodejs module with create-nodejs-module for this node structure(https://github.com/rahul2104/demo-node)",
4-
"version": "1.0.2",
4+
"version": "1.0.4",
55
"license": "MIT",
66
"author": {
77
"name": "Rahul Singh"

templates/Model.js

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,6 @@ var constants = require("../../../constant");
44
var Schema = mongoose.Schema;
55

66
var StatesSchema = new Schema({
7-
countryId:{ type: Schema.Types.ObjectId, ref: constants.DB_MODEL_REF.COUNTRIES },
8-
stateId:{ type: Schema.Types.ObjectId, ref: constants.DB_MODEL_REF.STATES },
97
stateName: { type: String,index:true},
108
rangeName: { type: String,index:true},
119
districtName: { type: String },

0 commit comments

Comments
 (0)