Sifa professional network API (Fastify, AT Protocol, Jetstream)
sifa.id/
1import { pgTable, text, bigint, timestamp } from 'drizzle-orm/pg-core';
2
3export const jetstreamCursor = pgTable('jetstream_cursor', {
4 id: text('id').primaryKey().default('main'),
5 cursor: bigint('cursor', { mode: 'bigint' }).notNull(),
6 updatedAt: timestamp('updated_at', { withTimezone: true }).notNull().defaultNow(),
7});