• This project
    • Loading...
  • Sign in

윤준석 / mamuri-bot

%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
  • mamuri-bot
  • server
  • models
  • keyword.js
  • 윤준석's avatar
    ADD: keyword model · aa356ec8 ...
    aa356ec8 Browse Files
    ADD: database connection and migration
    윤준석 authored 2022-05-24 01:41:42 +0900
keyword.js 313 Bytes
Raw Blame History Permalink
1 2 3 4 5 6 7 8 9 10 11 12 13 14
module.exports = (sequelize, DataTypes) => {

    return sequelize.define("keyword", {
        id: {
            type: DataTypes.INTEGER,
            autoIncrement: true,
            primaryKey: true
        },
        keyword: {
            type: DataTypes.STRING,
            allowNull: false
        }
    })
}