3
1

member.ts 303 B

123456789101112131415
  1. import db from '../db'
  2. import { DataTypes } from 'sequelize'
  3. const Member = db.define('member', {
  4. id: {
  5. type: DataTypes.INTEGER,
  6. primaryKey: true,
  7. },
  8. createdAt: DataTypes.INTEGER,
  9. account: DataTypes.STRING,
  10. handle: DataTypes.STRING,
  11. about: DataTypes.TEXT,
  12. })
  13. export default Member