Skip to content

Commit

Permalink
fix: remove index:idx_list_bsc_height
Browse files Browse the repository at this point in the history
  • Loading branch information
cosinlink committed May 16, 2024
1 parent 7495395 commit bc43bd4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion database/listing.go
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,6 @@ import (
type Listing struct {
Id int64 `json:"id" gorm:"primaryKey"`
Price decimal.Decimal `json:"price" gorm:"type:decimal(65,0);"`
ListBscHeight uint64 `gorm:"NOT NULL;index:idx_list_bsc_height"`
ListBscHeight uint64 `gorm:"NOT NULL;"`
GroupId int64 `json:"group_id" gorm:"uniqueIndex:idx_list_group_id;not null;"`
}

0 comments on commit bc43bd4

Please sign in to comment.