Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Migration ¶
type Migration struct { bun.BaseModel `bun:"migrations"` ID int64 `bun:"id,pk,notnull,autoincrement"` ProtocolID int64 `bun:"protocol_id,type:SMALLINT"` PrevProtocolID int64 Hash []byte Timestamp time.Time `bun:"timestamp,pk,notnull"` Level int64 Kind types.MigrationKind `bun:"kind,type:SMALLINT"` ContractID int64 Contract contract.Contract `bun:"rel:belongs-to"` }
Migration -
Click to show internal directories.
Click to hide internal directories.