Skip to content

Commit

Permalink
remove sapawarga_db_development db name
Browse files Browse the repository at this point in the history
  • Loading branch information
yohangdev authored Jul 26, 2021
1 parent 3e088cf commit 60e53d1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion repository/mysql/mysql.go
Original file line number Diff line number Diff line change
Expand Up @@ -257,7 +257,7 @@ func (r *PhonebookRepository) IsExistPhoneNumber(ctx context.Context, phone stri
var count int
var err error

query.WriteString(` SELECT count(1) FROM sapawarga_db_development.phonebooks
query.WriteString(` SELECT count(1) FROM phonebooks
WHERE JSON_CONTAINS(phone_numbers->'$[*].phone_number', json_array(?))`)

if ctx != nil {
Expand Down

0 comments on commit 60e53d1

Please sign in to comment.