Skip to content

Commit

Permalink
edit watchlist
Browse files Browse the repository at this point in the history
  • Loading branch information
Maksiomo committed Aug 2, 2024
1 parent 4466797 commit 2052eea
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions shared/research.go
Original file line number Diff line number Diff line change
Expand Up @@ -353,11 +353,10 @@ type Instrument struct {

type WatchList struct {
ID uint64 `gorm:"primaryKey;autoIncrement:true"`
Symbol string `gorm:"uniqueIndex:idx_watch_list_uniq"`
UserID uint64 `gorm:"uniqueIndex:idx_watch_list_uniq"`
Exchange string `gorm:"uniqueIndex:idx_watch_list_uniq"`
Flag uint64 `gorm:"default:0"`
EntityID uint64 `gorm:"uniqueIndex:idx_watch_list_uniq"`
Type string `sql:"type:ENUM('asset', 'pair')" gorm:"column:type"`
Flag uint64 `gorm:"default:0"`
}

type HistoricTvlAll struct {
Expand Down

0 comments on commit 2052eea

Please sign in to comment.