Skip to content

Commit 2255cdc

Browse files
committed
feat: define failure_reason into text type
1 parent 14e6d60 commit 2255cdc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

core/types.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,5 +14,5 @@ type L2ContractEvent struct {
1414
EventSignature string `gorm:"type:varchar(256);not null"`
1515
Proven bool `gorm:"type:boolean;not null;default:false"`
1616
Finalized bool `gorm:"type:boolean;not null;default:false"`
17-
FailureReason string `gorm:"type:varchar(256);"`
17+
FailureReason string `gorm:"type:text"`
1818
}

0 commit comments

Comments
 (0)