优化options
This commit is contained in:
+1
-1
@@ -6,8 +6,8 @@ type clientOptions struct {
|
|||||||
Sqlite *SqliteOptions
|
Sqlite *SqliteOptions
|
||||||
Prefix string // 表名前缀,`Article` 的表名应该是 `it_articles`
|
Prefix string // 表名前缀,`Article` 的表名应该是 `it_articles`
|
||||||
SingularTable bool // 使用单数表名,启用该选项,此时,`Article` 的表名应该是 `it_article`
|
SingularTable bool // 使用单数表名,启用该选项,此时,`Article` 的表名应该是 `it_article`
|
||||||
Loc string // 使用时区
|
|
||||||
Charset string // 使用utf8mb4编码
|
Charset string // 使用utf8mb4编码
|
||||||
|
Loc string // 时区设置 "Local" "Asia/Shanghai"
|
||||||
}
|
}
|
||||||
|
|
||||||
type MysqlOptions struct {
|
type MysqlOptions struct {
|
||||||
|
|||||||
Reference in New Issue
Block a user