- Remove penfield (split to own repo on Forgejo) - Move www/ contents to root, rename to wynne.rs - Swap @astrojs/vercel for @astrojs/node, upgrade to Astro 6 - Remove auth-astro/GitHub OAuth (TinyAuth at proxy layer) - Remove Vercel deploy webhook - Switch to local SQLite DB (drop Turso) - Update generate-stats.js for new build output paths
14 lines
275 B
TypeScript
14 lines
275 B
TypeScript
import { db, Guestbook } from 'astro:db';
|
|
|
|
export default async function seed() {
|
|
await db.insert(Guestbook).values([
|
|
{
|
|
id: 1,
|
|
name: 'test',
|
|
message: 'hello from dev',
|
|
url: null,
|
|
createdAt: new Date(),
|
|
approved: true,
|
|
},
|
|
]);
|
|
}
|