UNPKG
@jjcity/ttviews
Version:
latest (1.0.2)
1.0.2
1.0.1
1.0.0
Automation for add views tiktok
github.com/jjcity/TTViews
jjcity/TTViews
@jjcity/ttviews
/
model
/
user.js
8 lines
(7 loc)
•
257 B
JavaScript
View Raw
1
2
3
4
5
6
7
8
const
user
=
new
mongoose.
Schema
({
id
: {
type
: String,
default
:
null
},
coin
: {
type
: Number,
default
:
0
},
logs
: {
type
: Array,
default
: [] },
getCoins
: {
type
: Array,
default
: [] } }); module.exports = mongoose.
model
(
"user"
, user);