db

package
v0.1.10 Latest Latest
Warning

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

Go to latest
Published: Jun 19, 2024 License: GPL-3.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CreateSchema

func CreateSchema(ctx context.Context, client *ent.Client) error

CreateSchema creates all schema resources and runs all required migrations.

func NewPostgressClient

func NewPostgressClient(dbURL string) (*ent.Client, error)

func NewSQLiteClient

func NewSQLiteClient() (*ent.Client, error)

Types

This section is empty.

Directories

Path Synopsis
ent
msg

Jump to

Keyboard shortcuts

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