database

package
v0.0.0-...-1d99369 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 8, 2024 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Migrate

func Migrate(entClient *ent.Client) error

Migrate creates the schema a then closes the connection for this client

func NewEntClient

func NewEntClient(appEnv config.AppEnv) (*ent.Client, error)

NewEntClient returns an ent client with an open postgres connection

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL