Skip to content

Instantly share code, notes, and snippets.

@StewartLynch
Created February 3, 2026 22:19
Show Gist options
  • Select an option

  • Save StewartLynch/ae1ec1b103042ba0789e9bb58e58bc10 to your computer and use it in GitHub Desktop.

Select an option

Save StewartLynch/ae1ec1b103042ba0789e9bb58e58bc10 to your computer and use it in GitHub Desktop.
SQLiteData Gist for seeding Person table
try db.seed {
Person(id: UUID(0), name: "Mom", notes: "Likes gardening and cooking")
Person(id: UUID(1), name: "Dad", birthDate: formatter.date(from: "1968-11-03"), notes: "Enjoys golf and reading")
Person(id: UUID(2), name: "Sarah", notes: "Sister - loves art supplies")
Person(id: UUID(3), name: "Grandma", birthDate: formatter.date(from: "1942-02-21"), notes: "Knitting and classic movies")
Person(id: UUID(4), name: "Grandpa", notes: "Fishing trips on weekends")
Person(id: UUID(5), name: "Uncle Joe", birthDate: formatter.date(from: "1975-07-08"), notes: "BBQ master")
Person(id: UUID(6), name: "Aunt Lisa", notes: "Yoga and photography")
Person(id: UUID(7), name: "Cousin Mike", birthDate: formatter.date(from: "2001-09-14"), notes: "Video games and sneakers")
Person(id: UUID(8), name: "Emma", birthDate: formatter.date(from: "1992-03-30"), notes: "Co-worker - coffee enthusiast")
Person(id: UUID(9), name: "Oliver", notes: "Gym buddy")
Person(id: UUID(10), name: "Ava", birthDate: formatter.date(from: "1995-12-19"), notes: "Neighbor - loves baking")
Person(id: UUID(11), name: "Liam", notes: "Soccer teammate")
Person(id: UUID(12), name: "Mia", birthDate: formatter.date(from: "1989-08-05"), notes: "Book club friend")
Person(id: UUID(13), name: "Noah", notes: "College roommate")
Person(id: UUID(14), name: "Sophia", birthDate: formatter.date(from: "1998-01-22"), notes: "Choir partner")
Person(id: UUID(15), name: "James", notes: "Cycling group")
Person(id: UUID(16), name: "Isabella", birthDate: formatter.date(from: "1993-06-17"), notes: "Art class friend")
Person(id: UUID(17), name: "Benjamin", notes: "Chess club")
Person(id: UUID(18), name: "Charlotte", birthDate: formatter.date(from: "1990-04-11"), notes: "Hiking and photography")
Person(id: UUID(19), name: "Ethan", notes: "Cooking classes on weekends")
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment