package main

import (
	config "ares/config"
	database "ares/database/config"
	"ares/database/migrate"
	"ares/database/seeder"
	"fmt"
)

func main() {
	config.LoadConfig()
	database.ConnectDB()
	if database.DB == nil {
		fmt.Println("DB not initialized; aborting seed")
		return
	}
	migrate.Migrate()
	seeder.Seed()
	fmt.Println("Seed run finished")
}
