refactor: moves apps outside of apps/ path
This commit is contained in:
parent
b2d1a5ae9e
commit
c85e2e2357
45 changed files with 4 additions and 3 deletions
|
|
@ -1,16 +0,0 @@
|
|||
import { defineDb, defineTable, column } from 'astro:db';
|
||||
|
||||
const Guestbook = defineTable({
|
||||
columns: {
|
||||
id: column.number({ primaryKey: true }),
|
||||
name: column.text(),
|
||||
message: column.text(),
|
||||
url: column.text({ optional: true }),
|
||||
createdAt: column.date({ default: new Date() }),
|
||||
approved: column.boolean({ default: false }),
|
||||
},
|
||||
});
|
||||
|
||||
export default defineDb({
|
||||
tables: { Guestbook },
|
||||
});
|
||||
Loading…
Add table
Add a link
Reference in a new issue