Skip to content

Commit

Permalink
fix: 创建配置表判断错误
Browse files Browse the repository at this point in the history
  • Loading branch information
rehiy committed Mar 1, 2024
1 parent ee20b99 commit 6bcd803
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion dbase/setting/extra.go
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ func Save() {

func DataMigrate() {

if c, _ := Count(&CountParam{}); c == 0 {
if c, _ := Count(&CountParam{}); c != 0 {
return
}

Expand Down

0 comments on commit 6bcd803

Please sign in to comment.