Prettied up channel.css, small schema updates
This commit is contained in:
parent
247caa5c23
commit
3d184f29da
3 changed files with 7 additions and 2 deletions
|
|
@ -35,11 +35,13 @@ const channelSchema = new mongoose.Schema({
|
|||
name: {
|
||||
type: mongoose.SchemaTypes.String,
|
||||
required: true,
|
||||
maxLength: 50,
|
||||
default: 0
|
||||
},
|
||||
description: {
|
||||
type: mongoose.SchemaTypes.String,
|
||||
required: true,
|
||||
maxLength: 1000,
|
||||
default: 0
|
||||
},
|
||||
thumbnail: {
|
||||
|
|
|
|||
|
|
@ -32,6 +32,7 @@ const userSchema = new mongoose.Schema({
|
|||
},
|
||||
user: {
|
||||
type: mongoose.SchemaTypes.String,
|
||||
maxLength: 22,
|
||||
required: true,
|
||||
},
|
||||
pass: {
|
||||
|
|
@ -65,16 +66,19 @@ const userSchema = new mongoose.Schema({
|
|||
bio: {
|
||||
type: mongoose.SchemaTypes.String,
|
||||
required: true,
|
||||
maxLength: 1000,
|
||||
default: "Bio not set!"
|
||||
},
|
||||
pronouns:{
|
||||
type: mongoose.SchemaTypes.String,
|
||||
optional: true,
|
||||
maxLength: 20,
|
||||
default: ""
|
||||
},
|
||||
signature: {
|
||||
type: mongoose.SchemaTypes.String,
|
||||
required: true,
|
||||
maxLength: 150,
|
||||
default: "Signature not set!"
|
||||
},
|
||||
highLevel: {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue