mirror of
https://github.com/acepanel/panel.git
synced 2026-02-05 04:37:17 +08:00
23 lines
507 B
Go
23 lines
507 B
Go
package providers
|
|
|
|
import (
|
|
"github.com/goravel/framework/contracts/database/seeder"
|
|
"github.com/goravel/framework/contracts/foundation"
|
|
"github.com/goravel/framework/facades"
|
|
|
|
"github.com/TheTNB/panel/database/seeders"
|
|
)
|
|
|
|
type DatabaseServiceProvider struct {
|
|
}
|
|
|
|
func (receiver *DatabaseServiceProvider) Register(app foundation.Application) {
|
|
|
|
}
|
|
|
|
func (receiver *DatabaseServiceProvider) Boot(app foundation.Application) {
|
|
facades.Seeder().Register([]seeder.Seeder{
|
|
&seeders.DatabaseSeeder{},
|
|
})
|
|
}
|