diff options
author | 2023-01-22 12:26:47 +0100 | |
---|---|---|
committer | 2023-01-22 12:26:47 +0100 | |
commit | 0ceacd7b1d0b03e3da1d552aa0bbbe7037e57e90 (patch) | |
tree | 106bd6f80fe5466522b37b5778ebc7c4fd6ab728 /vendor/github.com/uptrace/bun/dialect/sqlitedialect/dialect.go | |
parent | [chore] Add name to instance field for autosuggestion (#1359) (diff) | |
download | gotosocial-0ceacd7b1d0b03e3da1d552aa0bbbe7037e57e90.tar.xz |
[chore] bump db dependencies (#1366)
Diffstat (limited to 'vendor/github.com/uptrace/bun/dialect/sqlitedialect/dialect.go')
-rw-r--r-- | vendor/github.com/uptrace/bun/dialect/sqlitedialect/dialect.go | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/vendor/github.com/uptrace/bun/dialect/sqlitedialect/dialect.go b/vendor/github.com/uptrace/bun/dialect/sqlitedialect/dialect.go index 720e979f5..3c809e7a7 100644 --- a/vendor/github.com/uptrace/bun/dialect/sqlitedialect/dialect.go +++ b/vendor/github.com/uptrace/bun/dialect/sqlitedialect/dialect.go @@ -87,6 +87,10 @@ func (d *Dialect) AppendBytes(b []byte, bs []byte) []byte { return b } +func (d *Dialect) DefaultVarcharLen() int { + return 0 +} + func fieldSQLType(field *schema.Field) string { switch field.DiscoveredSQLType { case sqltype.SmallInt, sqltype.BigInt: |