Skip to content
This repository has been archived by the owner on Mar 1, 2021. It is now read-only.

Commit

Permalink
Update twitter/inserter/users/inserter.go
Browse files Browse the repository at this point in the history
Co-Authored-By: Lukas Müller <mail@lukasmueller.de>
  • Loading branch information
Urhengulas and m-lukas authored Dec 20, 2019
1 parent bad8021 commit adbadfd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion twitter/inserter/users/inserter.go
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ func New(postgresHost, postgresPassword, dbName string, qReader *kafka.Reader) *

db, err := gorm.Open("postgres", connectionString)
utils.PanicIfNotNil(err)
i.db = db // use db.Debug() here to get extensive logging
i.db = db // use db.Debug() here to get detailed gorm logs

db.AutoMigrate(&models.TwitterUser{})

Expand Down

0 comments on commit adbadfd

Please sign in to comment.