심볼 레벨 메소 BIGINT 확장
그랜드 어센틱심볼 상위 레벨 메소가 INT(2.1B) 범위를 초과하므로 SymbolLevel.meso_cost를 BIGINT로 변경. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
parent
eb4369d8fb
commit
34a8158074
2 changed files with 19 additions and 14 deletions
|
|
@ -6,7 +6,7 @@ export const SymbolLevel = sequelize.define('SymbolLevel', {
|
|||
symbol_id: { type: DataTypes.INTEGER, allowNull: false },
|
||||
level: { type: DataTypes.TINYINT, allowNull: false },
|
||||
required_count: { type: DataTypes.SMALLINT, allowNull: false },
|
||||
meso_cost: { type: DataTypes.INTEGER, allowNull: false },
|
||||
meso_cost: { type: DataTypes.BIGINT, allowNull: false },
|
||||
}, {
|
||||
tableName: 'sym_levels',
|
||||
underscored: true,
|
||||
|
|
|
|||
|
|
@ -123,7 +123,10 @@ function SymbolCard({ symbol, equipped }) {
|
|||
</div>
|
||||
|
||||
{/* 획득량 입력 */}
|
||||
<div className="grid gap-2 mb-4" style={{ gridTemplateColumns: '0.7fr 1.3fr 1fr' }}>
|
||||
<div
|
||||
className="grid gap-2 mb-4"
|
||||
style={{ gridTemplateColumns: symbol.weekly_default > 0 ? '0.7fr 1.3fr 1fr' : '1fr 1fr' }}
|
||||
>
|
||||
<div className="space-y-1">
|
||||
<label className="block text-xs text-gray-400">일퀘 획득</label>
|
||||
<input
|
||||
|
|
@ -134,6 +137,7 @@ function SymbolCard({ symbol, equipped }) {
|
|||
className="w-full h-10 rounded-md border border-white/10 bg-gray-950 px-3 text-base text-right tabular-nums outline-none focus:border-emerald-500/50 hover:border-white/20 disabled:opacity-50 transition"
|
||||
/>
|
||||
</div>
|
||||
{symbol.weekly_default > 0 && (
|
||||
<div className="space-y-1">
|
||||
<label className="block text-xs text-gray-400">주간퀘 획득</label>
|
||||
<Select
|
||||
|
|
@ -141,11 +145,12 @@ function SymbolCard({ symbol, equipped }) {
|
|||
onChange={setWeeklyCount}
|
||||
options={[1, 2, 3].map((n) => ({
|
||||
value: n,
|
||||
label: `${n * (symbol.weekly_default || 0)}개`,
|
||||
label: `${n * symbol.weekly_default}개`,
|
||||
}))}
|
||||
disabled={!equipped}
|
||||
/>
|
||||
</div>
|
||||
)}
|
||||
<div className="space-y-1">
|
||||
<label className="block text-xs text-gray-400">추가 심볼</label>
|
||||
<input
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue