Apply Lang

This commit is contained in:
Your Name committed 2026-06-14 23:43:21 -04:00
1 parent f0f714e8e2
commit 7cb65bf5e7
7 files changed
+434 -159

No files matched your search

+7
View File
@@ -1,6 +1,13 @@
import prisma from '../src/lib/prisma';
async function main() {
console.log('Migrating pages to CMS...');
// Delete existing to force fresh payload insert
await prisma.page.deleteMany({
where: { slug: { in: ['about', 'faq', 'contact'] } }
});
// 1. Create About Page
await prisma.page.upsert({
where: { slug: 'about' },