refactor(db): move dialects to a standalone pkg
This commit is contained in:
parent
9c58278e08
commit
95027e4f5d
2 changed files with 2 additions and 1 deletions
|
@ -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…
Add table
Reference in a new issue