Skip to content

Commit

Permalink
Merge pull request #2248 from actiontech/issue-2222
Browse files Browse the repository at this point in the history
start line should not be null
  • Loading branch information
sjjian authored Feb 2, 2024
2 parents efecd1e + 61302e9 commit 6df6317
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sqle/model/task.go
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,7 @@ type BaseSQL struct {
ExecResult string `json:"exec_result" gorm:"type:text"`
Schema string `json:"schema"`
SourceFile string `json:"source_file"`
StartLine uint64 `json:"start_line"`
StartLine uint64 `json:"start_line" gorm:"not null"`
SQLType string `json:"sql_type"` // such as DDL,DML,DQL...
}

Expand Down

0 comments on commit 6df6317

Please sign in to comment.