Skip to content

Commit

Permalink
Set GORM PrepareStmt value to false
Browse files Browse the repository at this point in the history
  • Loading branch information
bsrinivas8687 committed Aug 18, 2021
1 parent 5f98124 commit eac0cb5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmd/start.go
Original file line number Diff line number Diff line change
Expand Up @@ -182,7 +182,7 @@ func StartCmd() *cobra.Command {
sqlite.Open(databasePath),
&gorm.Config{
Logger: logger.Discard,
PrepareStmt: true,
PrepareStmt: false,
},
)
if err != nil {
Expand Down

0 comments on commit eac0cb5

Please sign in to comment.