devbug/app/models/v1/Project.model.js

17 lines
414 B
JavaScript
Raw Normal View History

2019-06-21 22:01:34 +00:00
/*
* Project Model
* -------------------------------------------------------------
* Put some description here!
*/
const uuid = require('uuid/v4')
const Project = {
name: String,
user_id: String,
archived: { type: Boolean, default: false },
data: String,
shared_user_ids: [String],
edit_user_ids: [String],
2019-06-21 22:01:34 +00:00
uuid: { type: String, default: uuid }
}
module.exports = exports = Project