3
1

era.ts 300 B

123456789101112131415
  1. import db from '../db'
  2. import { DataTypes } from 'sequelize'
  3. const Era = db.define('era', {
  4. id: {
  5. type: DataTypes.INTEGER,
  6. primaryKey: true,
  7. },
  8. waiting: DataTypes.INTEGER,
  9. actives: DataTypes.INTEGER,
  10. maxSlots: DataTypes.INTEGER,
  11. timestamp: DataTypes.DATE,
  12. })
  13. export default Era