Skip to content

Commit

Permalink
feat: added field to spider
Browse files Browse the repository at this point in the history
  • Loading branch information
tikazyq committed Oct 11, 2024
1 parent 8a74f30 commit 045fc42
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions core/models/models/v2/spider_v2.go
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ type SpiderV2 struct {
Name string `json:"name" bson:"name"` // spider name
ColId primitive.ObjectID `json:"col_id" bson:"col_id"` // data collection id (deprecated) # TODO: remove this field in the future
ColName string `json:"col_name,omitempty" bson:"col_name"` // data collection name
DbName string `json:"db_name,omitempty" bson:"db_name"` // database name
DataSourceId primitive.ObjectID `json:"data_source_id" bson:"data_source_id"` // data source id
DataSource *DatabaseV2 `json:"data_source,omitempty" bson:"-"` // data source
Description string `json:"description" bson:"description"` // description
Expand Down

0 comments on commit 045fc42

Please sign in to comment.