add orders

This commit is contained in:
Aditya Siregar
2025-08-06 00:42:57 +07:00
parent 0a44135fb6
commit 3696451dc6
6 changed files with 326 additions and 82 deletions
+1 -1
View File
@@ -20,7 +20,7 @@ type Database struct {
}
func (c Database) DSN() string {
return fmt.Sprintf("host=%s port=%s dbname=%s user=%s password=%s sslmode=%s TimeZone=UTC", c.Host, c.Port, c.DB, c.Username, c.Password, c.SslMode)
return fmt.Sprintf("host=%s port=%s dbname=%s user=%s password=%s sslmode=%s TimeZone=Asia/Jakarta", c.Host, c.Port, c.DB, c.Username, c.Password, c.SslMode)
}
func (c Database) ConnectionMaxLifetime() time.Duration {