Skip to content

Commit a30372f

Browse files
committed
minor: removed Migrate call on NewDefaultService function
1 parent 02ef5a1 commit a30372f

File tree

1 file changed

+0
-6
lines changed

1 file changed

+0
-6
lines changed

sql/service/service.go

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -39,12 +39,6 @@ func NewDefaultService(db *sql.DB) (
3939
db: db,
4040
}
4141

42-
// Migrate the database
43-
err = instance.Migrate()
44-
if err != nil {
45-
return nil, err
46-
}
47-
4842
return instance, nil
4943
}
5044

0 commit comments

Comments
 (0)