• This project
    • Loading...
  • Sign in

강상위 / my-broadcasting

%ea%b7%b8%eb%a6%bc1
Go to a project
Toggle navigation Toggle navigation pinning
  • Projects
  • Groups
  • Snippets
  • Help
  • Project
  • Activity
  • Repository
  • Pipelines
  • Graphs
  • Issues 0
  • Merge Requests 0
  • Wiki
  • Snippets
  • Network
  • Create a new issue
  • Builds
  • Commits
  • Issue Boards
  • Files
  • Commits
  • Network
  • Compare
  • Branches
  • Tags
Switch branch/tag
  • my-broadcasting
  • server_db
  • models
  • timetables.js
  • 강상위's avatar
    DB - timetable connected · b49bd93d ...
    b49bd93d
    - 디비에서 정보를 가져와 나만의 시간표 표시완료
    강상위 authored 2018-12-12 20:16:10 +0900
timetables.js 284 Bytes
Raw Blame History Permalink
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15
var mongoose = require('mongoose');

var timetableSchema = mongoose.Schema
(
    {
        user_id: String,
        pname: String,
        pweekday: Number,
        start_hour: Number,
        start_min: Number
    }
);

module.exports = mongoose.model('timetable',timetableSchema);