mirror of
				https://github.com/superseriousbusiness/gotosocial.git
				synced 2025-10-31 12:52:25 -05:00 
			
		
		
		
	[chore] Update bun and sqlite dependencies (#478)
* update bun + sqlite versions * step bun to v1.1.3
This commit is contained in:
		
					parent
					
						
							
								8d34d5af3c
							
						
					
				
			
			
				commit
				
					
						88979b35d4
					
				
			
		
					 246 changed files with 409690 additions and 148967 deletions
				
			
		
							
								
								
									
										16
									
								
								vendor/github.com/uptrace/bun/dialect/sqlitedialect/dialect.go
									
										
									
										generated
									
									
										vendored
									
									
								
							
							
						
						
									
										16
									
								
								vendor/github.com/uptrace/bun/dialect/sqlitedialect/dialect.go
									
										
									
										generated
									
									
										vendored
									
									
								
							|  | @ -3,13 +3,22 @@ package sqlitedialect | |||
| import ( | ||||
| 	"database/sql" | ||||
| 	"encoding/hex" | ||||
| 	"fmt" | ||||
| 
 | ||||
| 	"github.com/uptrace/bun" | ||||
| 	"github.com/uptrace/bun/dialect" | ||||
| 	"github.com/uptrace/bun/dialect/feature" | ||||
| 	"github.com/uptrace/bun/dialect/sqltype" | ||||
| 	"github.com/uptrace/bun/schema" | ||||
| ) | ||||
| 
 | ||||
| func init() { | ||||
| 	if Version() != bun.Version() { | ||||
| 		panic(fmt.Errorf("sqlitedialect and Bun must have the same version: v%s != v%s", | ||||
| 			Version(), bun.Version())) | ||||
| 	} | ||||
| } | ||||
| 
 | ||||
| type Dialect struct { | ||||
| 	schema.BaseDialect | ||||
| 
 | ||||
|  | @ -21,10 +30,15 @@ func New() *Dialect { | |||
| 	d := new(Dialect) | ||||
| 	d.tables = schema.NewTables(d) | ||||
| 	d.features = feature.CTE | | ||||
| 		feature.WithValues | | ||||
| 		feature.Returning | | ||||
| 		feature.InsertReturning | | ||||
| 		feature.InsertTableAlias | | ||||
| 		feature.UpdateTableAlias | | ||||
| 		feature.DeleteTableAlias | | ||||
| 		feature.InsertOnConflict | ||||
| 		feature.InsertOnConflict | | ||||
| 		feature.TableNotExists | | ||||
| 		feature.SelectExists | ||||
| 	return d | ||||
| } | ||||
| 
 | ||||
|  |  | |||
							
								
								
									
										6
									
								
								vendor/github.com/uptrace/bun/dialect/sqlitedialect/version.go
									
										
									
										generated
									
									
										vendored
									
									
										Normal file
									
								
							
							
						
						
									
										6
									
								
								vendor/github.com/uptrace/bun/dialect/sqlitedialect/version.go
									
										
									
										generated
									
									
										vendored
									
									
										Normal file
									
								
							|  | @ -0,0 +1,6 @@ | |||
| package sqlitedialect | ||||
| 
 | ||||
| // Version is the current release version. | ||||
| func Version() string { | ||||
| 	return "1.1.3" | ||||
| } | ||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue