0
Fork 0
mirror of https://github.com/withastro/astro.git synced 2025-01-27 22:19:04 -05:00
astro/packages/db/test/fixtures/static-remote/db/config.ts
Matthew Phillips b1eda3dc5c
Fix building static sites with Astro DB (#10655)
* Fix building static sites with Astro DB

* Adding a changeset

* Try a different port range
2024-04-02 16:07:18 -04:00

12 lines
222 B
TypeScript

import { column, defineDb, defineTable } from 'astro:db';
const User = defineTable({
columns: {
id: column.number({ primaryKey: true }),
name: column.text(),
},
});
export default defineDb({
tables: { User },
});