maplestory/backend/models/symbol/SymbolLevel.js
caadiq 34a8158074 심볼 레벨 메소 BIGINT 확장
그랜드 어센틱심볼 상위 레벨 메소가 INT(2.1B) 범위를 초과하므로
SymbolLevel.meso_cost를 BIGINT로 변경.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-04-15 13:59:44 +09:00

16 lines
590 B
JavaScript

import { DataTypes } from 'sequelize';
import { sequelize } from '../../lib/db.js';
export const SymbolLevel = sequelize.define('SymbolLevel', {
id: { type: DataTypes.INTEGER, autoIncrement: true, primaryKey: true },
symbol_id: { type: DataTypes.INTEGER, allowNull: false },
level: { type: DataTypes.TINYINT, allowNull: false },
required_count: { type: DataTypes.SMALLINT, allowNull: false },
meso_cost: { type: DataTypes.BIGINT, allowNull: false },
}, {
tableName: 'sym_levels',
underscored: true,
indexes: [
{ unique: true, fields: ['symbol_id', 'level'] },
],
});