mirror of
https://github.com/zitadel/zitadel.git
synced 2024-12-12 11:04:25 +00:00
chore: remove postgres beta warning (#6394)
fix: remove postgres beta warning Co-authored-by: Fabi <fabienne@zitadel.com>
This commit is contained in:
parent
c115ae374e
commit
523dee8801
@ -8,6 +8,7 @@ import (
|
|||||||
|
|
||||||
"github.com/mitchellh/mapstructure"
|
"github.com/mitchellh/mapstructure"
|
||||||
"github.com/zitadel/logging"
|
"github.com/zitadel/logging"
|
||||||
|
|
||||||
"github.com/zitadel/zitadel/internal/database/dialect"
|
"github.com/zitadel/zitadel/internal/database/dialect"
|
||||||
)
|
)
|
||||||
|
|
||||||
@ -62,7 +63,6 @@ func (c *Config) Decode(configs []interface{}) (dialect.Connector, error) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
func (c *Config) Connect(useAdmin bool) (*sql.DB, error) {
|
func (c *Config) Connect(useAdmin bool) (*sql.DB, error) {
|
||||||
logging.Warn("postgres is currently in beta")
|
|
||||||
db, err := sql.Open("pgx", c.String(useAdmin))
|
db, err := sql.Open("pgx", c.String(useAdmin))
|
||||||
if err != nil {
|
if err != nil {
|
||||||
return nil, err
|
return nil, err
|
||||||
|
Loading…
Reference in New Issue
Block a user