This commit is contained in:
ik committed 2026-09-03 08:18:35 +07:00
1 parent a7bfc7ee8d
commit d407e8fcfd
103 files changed
+24544 -13

No files matched your search

@@ -0,0 +1,9 @@
import { sql } from "drizzle-orm";
import { integer, sqliteTable, text } from "drizzle-orm/sqlite-core";
export const notes = sqliteTable("notes", {
id: integer("id").primaryKey({ autoIncrement: true }),
title: text("title").notNull(),
content: text("content").notNull().default(""),
createdAt: text("created_at").notNull().default(sql`CURRENT_TIMESTAMP`),
});