A decentralized music tracking and discovery platform built on AT Protocol 馃幍
rocksky.app
spotify
atproto
lastfm
musicbrainz
scrobbling
listenbrainz
1CREATE TABLE "follows" (
2 "xata_id" text PRIMARY KEY DEFAULT xata_id() NOT NULL,
3 "uri" text NOT NULL,
4 "follower_did" text NOT NULL,
5 "subject_did" text NOT NULL,
6 "xata_version" integer,
7 "xata_createdat" timestamp DEFAULT now() NOT NULL,
8 "xata_updatedat" timestamp DEFAULT now() NOT NULL,
9 CONSTRAINT "follows_uri_unique" UNIQUE("uri")
10);
11--> statement-breakpoint
12CREATE UNIQUE INDEX "follows_follower_subject_unique" ON "follows" USING btree ("follower_did","subject_did");