Skip to content

Commit ca5511c

Browse files
committed
chore(seed): update seed
1 parent 3c281f1 commit ca5511c

File tree

1 file changed

+16
-0
lines changed

1 file changed

+16
-0
lines changed

src/seed/post.seed.ts

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -730,6 +730,21 @@ Trabalhar como freelancer tem sido uma jornada cheia de aprendizados, desafios e
730730
},
731731
});
732732

733+
const GENERIC_COMPONENTS = await prisma.post.upsert({
734+
where: { id: 18 },
735+
update: {},
736+
create: {
737+
title: 'Componentes Genéricos: A Arte de Não Reinventar a Roda (Parte 1)',
738+
authorId: 4,
739+
content: ``,
740+
previewContent:
741+
'Descubra como os componentes genéricos podem transformar sua forma de programar, evitando código duplicado e trazendo mais clareza e reutilização ao seu projeto.',
742+
slug: 'componentes-genericos-arte-de-nao-reinventar-roda-parte-1',
743+
isPublished: true,
744+
categoryId: 9,
745+
},
746+
});
747+
733748
console.log({
734749
FAZ_FUNCIONAR_E_DEPOIS_MELHORA_SERA_MESMO,
735750
OLIMPIADA_DO_CONHECIMENTO,
@@ -745,5 +760,6 @@ Trabalhar como freelancer tem sido uma jornada cheia de aprendizados, desafios e
745760
COMPONENTS,
746761
TAILWINDCSS_IS_MOBILE_FIRST,
747762
TAILWINDCSS_A_POWERFUL_TOOL,
763+
GENERIC_COMPONENTS,
748764
});
749765
}

0 commit comments

Comments
 (0)