• 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
    HOTFIX: change charset and collate in database to utf8mb4 and utf8mb4_general_ci for korean · 82b6daf0
    82b6daf0
    윤준석 authored 2022-05-30 23:40:03 +0900
keyword.js 388 Bytes
Raw Blame History Permalink
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17
module.exports = (sequelize, DataTypes) => {

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