A decentralized music tracking and discovery platform built on AT Protocol 馃幍 rocksky.app
spotify atproto lastfm musicbrainz scrobbling listenbrainz
96
fork

Configure Feed

Select the types of activity you want to include in your feed.

at feat/pgpull 18 lines 665 B view raw
1import type { InferSelectModel } from "drizzle-orm"; 2import { integer, pgTable, text, timestamp } from "drizzle-orm/pg-core"; 3 4const users = pgTable("users", { 5 id: text("xata_id").primaryKey(), 6 did: text("did").unique().notNull(), 7 displayName: text("display_name"), 8 handle: text("handle").unique().notNull(), 9 avatar: text("avatar").notNull(), 10 createdAt: timestamp("xata_createdat").defaultNow().notNull(), 11 updatedAt: timestamp("xata_updatedat").defaultNow().notNull(), 12 xataVersion: integer("xata_version"), 13}); 14 15export type SelectUser = InferSelectModel<typeof users>; 16export type InsertUser = InferSelectModel<typeof users>; 17 18export default users;