Initial commit
Generated by create-expo-app 3.3.0.
This commit is contained in:
@@ -0,0 +1,12 @@
|
||||
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;
|
||||
Reference in New Issue
Block a user