Files
Galaxies-ai-recorder/db/schema.ts
T
Dennis Hundertmark 6ed3300183 Initial commit
Generated by create-expo-app 3.3.0.
2025-04-04 08:33:13 +02:00

13 lines
389 B
TypeScript

import { sqliteTable, text } from "drizzle-orm/sqlite-core";
export const notes = sqliteTable("notes", {
id: text("id").primaryKey(),
title: text("title"),
note_audio_url: text("note_audio_url").notNull(),
note_text: text("note_text"),
created_at: text("created_at").notNull(),
});
export type Note = typeof notes.$inferSelect;
export type NewNote = typeof notes.$inferInsert;