This commit is contained in:
Lara 2025-04-06 19:00:17 +03:00
parent dcc647d085
commit a4000a589a
Signed by: laratheprotogen
GPG key ID: 5C0296EB3165F98B
11 changed files with 1119 additions and 5235 deletions

View file

@ -1,6 +1,10 @@
import { sql } from 'drizzle-orm';
import { sqliteTable, text, integer } from 'drizzle-orm/sqlite-core';
export const user = sqliteTable('user', {
id: integer('id').primaryKey(),
age: integer('age')
id: integer('id').primaryKey({ autoIncrement: true}),
did: text('did').notNull(),
handle: text('handle').notNull(),
created_at: text('created_at').notNull().default(sql`CURRENT_TIMESTAMP`),
updated_at: text('updated_at').notNull().default(sql`CURRENT_TIMESTAMP`),
});