feat: implement PUERTO data generation and loading with improved structure and logging

This commit is contained in:
2026-04-08 10:08:17 -05:00
parent 4434054b21
commit 3765e8adb3
2 changed files with 230 additions and 3 deletions

View File

@@ -14,8 +14,8 @@ import (
const (
totalRows int = 1_000_000
chunkSize int = 50_000
schema string = "Cartografia"
table string = "MANZANA"
schema string = "Red"
table string = "PUERTO"
queueSize int = 4
)
@@ -39,7 +39,7 @@ func main() {
var wgSeed sync.WaitGroup
wgSeed.Go(func() {
seedManzanas(ctx, db)
seedPuertos(ctx, db)
})
wgSeed.Wait()