ai slop ah
This commit is contained in:
@@ -29,7 +29,7 @@ func main() {
|
||||
if err := seed(ctx, database); err != nil {
|
||||
log.Fatal(err)
|
||||
}
|
||||
log.Printf("seeded %s with the Northline Studio demo gallery", demoEmail)
|
||||
log.Printf("seeded %s with the Noah Bianchi demo gallery", demoEmail)
|
||||
}
|
||||
|
||||
func seed(ctx context.Context, database *sql.DB) error {
|
||||
@@ -41,7 +41,7 @@ func seed(ctx context.Context, database *sql.DB) error {
|
||||
INSERT INTO users (id, email, password_hash, name)
|
||||
VALUES ($1, $2, $3, $4)
|
||||
ON CONFLICT (email) DO UPDATE SET password_hash = EXCLUDED.password_hash, name = EXCLUDED.name, updated_at = CURRENT_TIMESTAMP
|
||||
`, demoUserID, demoEmail, string(passwordHash), "Northline Studio"); err != nil {
|
||||
`, demoUserID, demoEmail, string(passwordHash), "Noah Bianchi"); err != nil {
|
||||
return fmt.Errorf("seed demo user: %w", err)
|
||||
}
|
||||
|
||||
@@ -62,7 +62,7 @@ func seed(ctx context.Context, database *sql.DB) error {
|
||||
updated_at = CURRENT_TIMESTAMP
|
||||
`, demoGalleryID, demoUserID, "emma-james-wedding", "Emma & James", "Emma & James", "An early summer wedding, held close to the water and the people who make it home.", demoCoverID,
|
||||
`{"mode":"light","layout":"editorial","accent":"#ad695b","font":"serif"}`,
|
||||
`{"studioName":"Northline Studio","tagline":"Photographs for keeps.","websiteUrl":"https://example.com","instagramUrl":"https://instagram.com"}`); err != nil {
|
||||
`{"studioName":"Noah Bianchi","tagline":"Photographs for keeps.","websiteUrl":"https://example.com","instagramUrl":"https://instagram.com"}`); err != nil {
|
||||
return fmt.Errorf("seed demo gallery: %w", err)
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user