package main

import (
	"bindbox-game/internal/pkg/utils"
	"fmt"
)

func main() {
	password := "123456"
	hash, err := utils.GenerateAdminHashedPassword(password)
	if err != nil {
		fmt.Println("Error:", err)
		return
	}
	fmt.Println("Password hash for '123456':")
	fmt.Println(hash)
	fmt.Println()
	fmt.Println("SQL to insert admin:")
	fmt.Printf("INSERT INTO admin (username, nickname, password, login_status, is_super, created_user, created_at) VALUES ('CC', 'CC', '%s', 1, 0, 'system', NOW());\n", hash)
}
