• This project
    • Loading...
  • Sign in

박정민 / TFT

%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
  • TFT
  • models
  • Festival.js
  • hellowhales's avatar
    Implement API handler · 1d990898
    1d990898
    hellowhales authored 2021-11-22 18:04:37 +0900
Festival.js 286 Bytes
Raw Blame History Permalink
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17
const mongoose =require('mongoose');
const { Schema } =mongoose;

const festivalSchema = new Schema({
    title: String,
    addr: String,
    tel: String,
    mapx : Number,
    mapy : Number
},
{
    timestamps: true
}
);


module.exports = mongoose.model('Festival',festivalSchema);