mirror of
https://github.com/phishingclub/phishingclub.git
synced 2026-06-03 21:28:04 +02:00
20 lines
393 B
Go
20 lines
393 B
Go
//go:build !dev
|
|
|
|
package seed
|
|
|
|
import (
|
|
"github.com/phishingclub/phishingclub/app"
|
|
"go.uber.org/zap"
|
|
"gorm.io/gorm"
|
|
)
|
|
|
|
// InitialInstallAndSeed installs the initial database migrations
|
|
func InitialInstallAndSeed(
|
|
db *gorm.DB,
|
|
repositories *app.Repositories,
|
|
logger *zap.SugaredLogger,
|
|
usingSystemd bool,
|
|
) error {
|
|
return initialInstallAndSeed(db, repositories, logger, usingSystemd)
|
|
}
|