summaryrefslogtreecommitdiff
path: root/vendor/github.com/uptrace/bun/dialect/dialect.go
diff options
context:
space:
mode:
authorLibravatar kim (grufwub) <grufwub@gmail.com>2021-09-08 21:13:54 +0100
committerLibravatar kim (grufwub) <grufwub@gmail.com>2021-09-08 21:13:54 +0100
commit6a2d0d9508392425392738743fa4dd5b5d93bdb4 (patch)
tree2c076235c197acbb9080745fc79a4b41aaa5452e /vendor/github.com/uptrace/bun/dialect/dialect.go
parentupdate sqlite library -> v1.13.0 (diff)
parentMerge pull request #195 from NyaaaWhatsUpDoc/update/bun-library (diff)
downloadgotosocial-6a2d0d9508392425392738743fa4dd5b5d93bdb4.tar.xz
Merge remote-tracking branch 'upstream/main' into update/sqlite-library
Signed-off-by: kim (grufwub) <grufwub@gmail.com>
Diffstat (limited to 'vendor/github.com/uptrace/bun/dialect/dialect.go')
-rw-r--r--vendor/github.com/uptrace/bun/dialect/dialect.go9
1 files changed, 3 insertions, 6 deletions
diff --git a/vendor/github.com/uptrace/bun/dialect/dialect.go b/vendor/github.com/uptrace/bun/dialect/dialect.go
index 9ff8b2461..f209f892e 100644
--- a/vendor/github.com/uptrace/bun/dialect/dialect.go
+++ b/vendor/github.com/uptrace/bun/dialect/dialect.go
@@ -8,10 +8,8 @@ func (n Name) String() string {
return "pg"
case SQLite:
return "sqlite"
- case MySQL5:
- return "mysql5"
- case MySQL8:
- return "mysql8"
+ case MySQL:
+ return "mysql"
default:
return "invalid"
}
@@ -21,6 +19,5 @@ const (
Invalid Name = iota
PG
SQLite
- MySQL5
- MySQL8
+ MySQL
)