/** * briven schema. Edit this file to add tables; the CLI diffs against * the currently deployed schema and generates the migration when you * run `briven deploy`. */ import { schema, table, text, timestamp } from '@briven/cli/schema'; export default schema({ notes: table({ id: text().primaryKey(), body: text().notNull(), createdAt: timestamp().default('now()').notNull(), }), });