package database

import (
	"iris-demo/db"
	"iris-demo/library/logger"
)

var Client *db.PrismaClient

func init() {
	Client = db.NewClient()
	if err := Client.Prisma.Connect(); err != nil {
		logger.Errorf("client.Prisma.Connect", err)
		return
	}
}
