refactor(db): move dialects to a standalone pkg

pull/1638/head
Aaron Liu 2 years ago
parent 9c58278e08
commit 95027e4f5d

@ -1,4 +1,4 @@
package model
package dialects
import (
"fmt"

@ -9,6 +9,7 @@ import (
"github.com/gin-gonic/gin"
"github.com/jinzhu/gorm"
_ "github.com/cloudreve/Cloudreve/v3/models/dialects"
_ "github.com/glebarez/go-sqlite"
_ "github.com/jinzhu/gorm/dialects/mssql"
_ "github.com/jinzhu/gorm/dialects/mysql"

Loading…
Cancel
Save