mvp del nuevo blog

This commit is contained in:
2026-02-18 23:02:07 -03:00
parent 37f1452145
commit 1c2215b2fe
12 changed files with 658 additions and 58 deletions

18
db/config.ts Normal file
View File

@@ -0,0 +1,18 @@
import { column } from "astro:db";
import { defineTable } from "astro:db";
import { defineDb } from "astro:db";
// https://astro.build/db/config
const BookMark = defineTable({
columns: {
id: column.number({ primaryKey: true }),
title: column.text(),
url: column.text(),
description: column.text(),
},
});
export default defineDb({
tables: { BookMark },
});

6
db/seed.ts Normal file
View File

@@ -0,0 +1,6 @@
import { db } from 'astro:db';
// https://astro.build/db/seed
export default async function seed() {
// TODO
}