// Migrate the db-tables
Migrate the db-tables
// Migrate the db - tables
func Migrate(db *gorm.DB) error {
	return db.AutoMigrate(
		&api.Nms{},
		&api.Licence{},
		&api.Server{},
		&api.Runner{},
		&api.NuixSwitch{},
		&api.CaseSettings{},
		&api.Case{},
		&api.Elasticsearch{},
		&api.Evidence{},
		&api.EvidencePath{},
		&api.Stage{},
		&api.Process{},
		&api.SearchAndTag{},
		&api.Exclude{},
		&api.Populate{},
		&api.Reload{},
		&api.Ocr{},
		&api.File{},
		&api.Type{},
		&api.InApp{},
		&api.SyncDescendants{},
		&api.ScanNewChildItems{},
	).Error
}
func Migrate ( db * gorm . DB ) error { return db . AutoMigrate ( & api . Nms { } , & api . Licence { } , & api . Server { } , & api . Runner { } , & api . NuixSwitch { } , & api . CaseSettings { } , & api . Case { } , & api . Elasticsearch { } , & api . Evidence { } , & api . EvidencePath { } , & api . Stage { } , & api . Process { } , & api . SearchAndTag { } , & api . Exclude { } , & api . Populate { } , & api . Reload { } , & api . Ocr { } , & api . File { } , & api . Type { } , & api . InApp { } , & api . SyncDescendants { } , & api . ScanNewChildItems { } , ) . Error }
Migrate the db-tables
Migrate the db - tables