param(
    [string]$MysqlHost = "127.0.0.1",
    [string]$MysqlUser = "volley",
    [string]$MysqlPassword = "volley",
    [string]$Database = "volley_tournaments"
)

Write-Host "Importando schema y seeds en $Database..."
mysql -h $MysqlHost -u $MysqlUser -p$MysqlPassword $Database < database/schema.sql
mysql -h $MysqlHost -u $MysqlUser -p$MysqlPassword $Database < database/seeds.sql
Write-Host "Listo. Usuario: admin@volley.test / password"
