Skip to content

Commit

Permalink
[database] remove gorm config
Browse files Browse the repository at this point in the history
  • Loading branch information
akshettrj committed Oct 16, 2023
1 parent 824dd0d commit 0d1a1b4
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions database/connect.go
Original file line number Diff line number Diff line change
Expand Up @@ -29,9 +29,7 @@ func Connect() (*gorm.DB, error) {
return nil, fmt.Errorf("Error: key 'type' not found in database config")
}

gormConfig := gorm.Config{
SkipDefaultTransaction: true,
}
gormConfig := gorm.Config{}

switch dbType {

Expand Down

0 comments on commit 0d1a1b4

Please sign in to comment.