Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
N
node-couchdb-management
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Sachinda
node-couchdb-management
Commits
e5b93eef
Commit
e5b93eef
authored
Sep 02, 2020
by
Sachinda
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Initial commit
parents
Changes
2
Expand all
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
25 additions
and
0 deletions
+25
-0
coutch_db_create.js
coutch_db_create.js
+0
-0
db_model.js
models/db_model.js
+25
-0
No files found.
coutch_db_create.js
0 → 100644
View file @
e5b93eef
This diff is collapsed.
Click to expand it.
models/db_model.js
0 → 100644
View file @
e5b93eef
const
Schema
=
require
(
"validate"
);
const
model
=
new
Schema
({
user_name
:
{
type
:
String
,
required
:
true
,
},
password
:
{
type
:
String
,
required
:
true
,
},
service_url
:
{
type
:
String
,
required
:
true
,
},
service_port
:
{
type
:
Number
,
required
:
true
},
db_name
:
{
type
:
String
,
required
:
true
,
},
});
module
.
exports
=
model
;
\ No newline at end of file
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment