fixed launch
This commit is contained in:
parent
c0a23c31f7
commit
e2cd7af032
4 changed files with 42 additions and 10 deletions
|
@ -1,4 +1,5 @@
|
|||
import { Schema, model } from "mongoose";
|
||||
import { Launch } from "../../../core/models/skill_model";
|
||||
|
||||
export interface ISkillsModel {}
|
||||
|
||||
|
@ -12,6 +13,9 @@ export const SkillsSchema = new Schema({
|
|||
BTAction: {
|
||||
type: Schema.Types.Mixed,
|
||||
},
|
||||
Launch: {
|
||||
type: Schema.Types.Mixed,
|
||||
},
|
||||
topicsOut: {
|
||||
type: Schema.Types.Mixed,
|
||||
},
|
||||
|
@ -19,13 +23,14 @@ export const SkillsSchema = new Schema({
|
|||
type: Schema.Types.Mixed,
|
||||
},
|
||||
bgColor: {
|
||||
type:Schema.Types.String,
|
||||
type: Schema.Types.String,
|
||||
},
|
||||
borderColor: {
|
||||
type: Schema.Types.String,
|
||||
},
|
||||
borderColor:{
|
||||
type:Schema.Types.String
|
||||
}
|
||||
}).plugin(require("mongoose-autopopulate"));
|
||||
|
||||
export const skillsSchema = "skills";
|
||||
|
||||
export const SkillsDBModel = model<ISkillsModel>(skillsSchema, SkillsSchema);
|
||||
|
Loading…
Add table
Add a link
Reference in a new issue