Skip to content

Commit

Permalink
Merge pull request #327 from filecoin-project/fix/db-type
Browse files Browse the repository at this point in the history
fix: failed create actor_cfg table in mysql
  • Loading branch information
hunjixin authored Mar 14, 2023
2 parents 7cd8d49 + 08252ce commit 9dda702
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions models/mysql/actor_cfg.go
Original file line number Diff line number Diff line change
Expand Up @@ -23,9 +23,9 @@ import (

type mysqlActorCfg struct {
ID shared.UUID `gorm:"column:id;type:varchar(256);primary_key;"` // 主键
ActorVersion int `gorm:"column:actor_v;type:unsigned int;NOT NULL"`
ActorVersion int `gorm:"column:actor_v;type:int;NOT NULL"`
Code mtypes.DBCid `gorm:"column:code;type:varchar(256);index:idx_code_method,unique;NOT NULL;"`
Method uint64 `gorm:"column:method;type:unsigned bigint;index:idx_code_method,unique;NOT NULL"`
Method uint64 `gorm:"column:method;type:bigint unsigned;index:idx_code_method,unique;NOT NULL"`

FeeSpec

Expand Down

0 comments on commit 9dda702

Please sign in to comment.