Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Tailwind #46

Open
wants to merge 22 commits into
base: main
Choose a base branch
from
Open
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
added new seeding
rowleks committed Mar 10, 2025
commit 766a5553559ac6d9d5fc8321eaacddccb9343b64
4 changes: 2 additions & 2 deletions prisma/seed.js
Original file line number Diff line number Diff line change
@@ -8,7 +8,7 @@ async function main() {

// Create multiple users
await prisma.user.createMany({
data: Array.from({ length: 5 }).map(() => ({
data: Array.from({ length: 3 }).map(() => ({
email: faker.internet.email().toLowerCase(),
name: faker.person.fullName(),
avatar: faker.image.avatar(),
@@ -24,7 +24,7 @@ async function main() {
const wordCount = Math.floor(Math.random() * (8 - 6 + 1)) + 6;
const paragraphCount = Math.floor(Math.random() * (8 - 6 + 1)) + 3;
await prisma.post.createMany({
data: Array.from({ length: 2 }).map(() => ({
data: Array.from({ length: 3 }).map(() => ({
title: faker.lorem.sentence(wordCount),
image: faker.image.urlPicsumPhotos({
width: 800,