Tugas Tabel

This commit is contained in:
Rinaldo
2026-10-01 11:21:32 +07:00
parent 380304e970
commit 4d40640938
6 changed files with 10 additions and 4 deletions
+5 -4
View File
@@ -7,6 +7,7 @@ import (
"time"
"5803025024/w04/internal/auth"
"github.com/google/uuid"
"github.com/jackc/pgx/v5"
)
@@ -76,10 +77,10 @@ func SeedSampleData(conn *pgx.Conn) error {
username string
password string
}{
{username: "Aldo", password: "123"},
{username: "Alex", password: "12345"},
{username: "Cliff", password: "12345678"},
{username: "Farrel", password: "1234567890"},
{username: "A", password: "password123"},
{username: "L", password: "password12345"},
{username: "D", password: "password12345678"},
{username: "O", password: "password12345678910"},
}
fmt.Println("✅ INSERT DATA SAMPLE KE DATABASE (lebih dari 2 USERS):")