Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ toolchain go1.25.6

require (
github.com/Masterminds/squirrel v1.5.4
github.com/goravel/framework v1.16.1-0.20260128144145-280cdc17fcee
github.com/goravel/framework v1.16.1-0.20260202061217-60e5444dde33
github.com/spf13/cast v1.10.0
github.com/stretchr/testify v1.11.1
gorm.io/driver/sqlserver v1.6.3
Expand Down
4 changes: 2 additions & 2 deletions go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -118,8 +118,8 @@ github.com/gookit/color v1.4.2/go.mod h1:fqRyamkC1W8uxl+lxCQxOT09l/vYfZ+QeiX3rKQ
github.com/gookit/color v1.5.0/go.mod h1:43aQb+Zerm/BWh2GnrgOQm7ffz7tvQXEKV6BFMl7wAo=
github.com/gookit/color v1.5.4 h1:FZmqs7XOyGgCAxmWyPslpiok1k05wmY3SJTytgvYFs0=
github.com/gookit/color v1.5.4/go.mod h1:pZJOeOS8DM43rXbp4AZo1n9zCU2qjpcRko0b6/QJi9w=
github.com/goravel/framework v1.16.1-0.20260128144145-280cdc17fcee h1:J/tYlCECxU+x2xwG8xuwVzRUoZsIRj+3LGldwAjVRyw=
github.com/goravel/framework v1.16.1-0.20260128144145-280cdc17fcee/go.mod h1:RvgW+VhSE0aCr2ju/d6B8PsPsz04Q7gUFnWCY9ru6MI=
github.com/goravel/framework v1.16.1-0.20260202061217-60e5444dde33 h1:i95pSIYcnbCn/ZSEKTHOrtqxzCdbnQAQV1QWesRVWV0=
github.com/goravel/framework v1.16.1-0.20260202061217-60e5444dde33/go.mod h1:RvgW+VhSE0aCr2ju/d6B8PsPsz04Q7gUFnWCY9ru6MI=
github.com/gorilla/securecookie v1.1.1/go.mod h1:ra0sb63/xPlUeL+yeDciTfxMRAA+MP+HVt/4epWDjd4=
github.com/gorilla/sessions v1.2.1/go.mod h1:dk2InVEVJ0sfLlnXv9EAgkf6ecYs/i80K/zI+bUmuGM=
github.com/hashicorp/go-uuid v1.0.2/go.mod h1:6SBZvOh/SIDV7/2o3Jml5SYk/TvGqwFJ/bN7x4byOro=
Expand Down
4 changes: 2 additions & 2 deletions setup/setup.go
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ func main() {
// Add sqlserver service provider to providers.go if using bootstrap setup
modify.When(func(_ map[string]any) bool {
return env.IsBootstrapSetup()
}, modify.AddProviderApply(moduleImport, sqlserverServiceProvider)),
}, modify.RegisterProvider(moduleImport, sqlserverServiceProvider)),

// Add sqlserver connection config to database.go
modify.GoFile(databaseConfigPath).Find(match.Imports()).Modify(
Expand Down Expand Up @@ -75,6 +75,6 @@ func main() {
// Remove sqlserver service provider from providers.go if using bootstrap setup
modify.When(func(_ map[string]any) bool {
return env.IsBootstrapSetup()
}, modify.RemoveProviderApply(moduleImport, sqlserverServiceProvider)),
}, modify.UnregisterProvider(moduleImport, sqlserverServiceProvider)),
).Execute()
}