mirror of
https://github.com/ZSCNetSupportDept/scheduler.git
synced 2025-10-29 13:04:15 +08:00
增加pgx驱动,完善前端的代码,暂定supabase后端数据库
This commit is contained in:
@@ -1,7 +1,10 @@
|
||||
package db
|
||||
|
||||
import (
|
||||
"github.com/jackc/pgx/v5/pgxpool"
|
||||
"gorm.io/gorm"
|
||||
)
|
||||
|
||||
var Main *gorm.DB //Main database connection
|
||||
|
||||
var PGX *pgxpool.Pool
|
||||
|
||||
Reference in New Issue
Block a user