Skip to content

Commit

Permalink
Add "postgresql://" as a database dialect
Browse files Browse the repository at this point in the history
  • Loading branch information
demdxx committed Oct 3, 2024
1 parent cd84a4c commit 406a926
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions pkg/database/postgres.go
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ import (

func init() {
dialectors["postgres"] = openPostgres
dialectors["postgresql"] = openPostgres
}

func openPostgres(dsn string) gorm.Dialector {
Expand Down

0 comments on commit 406a926

Please sign in to comment.