mirror of
https://github.com/arnaucube/openworktime.git
synced 2026-02-07 03:36:44 +01:00
delete project and join project added (frontend and backend)
This commit is contained in:
@@ -2,17 +2,17 @@ var mongoose = require('mongoose'),
|
||||
Schema = mongoose.Schema;
|
||||
|
||||
|
||||
var travelSchema = new Schema({
|
||||
var projectSchema = new Schema({
|
||||
title: { type: String },
|
||||
description: { type: String },
|
||||
icon: { type: String },
|
||||
users: { type: String },
|
||||
users: [{ type: String }],
|
||||
chart: { type: String },
|
||||
dateCreation: { type: Date },
|
||||
github: { type: String },
|
||||
refnum: { type: String }
|
||||
})
|
||||
module.exports = mongoose.model('projectModel', travelSchema);
|
||||
module.exports = mongoose.model('projectModel', projectSchema);
|
||||
|
||||
|
||||
//modality can be: offering, asking, package
|
||||
|
||||
Reference in New Issue
Block a user